https://bugs.kde.org/show_bug.cgi?id=515127

--- Comment #4 from Ivan Romanov <[email protected]> ---
I found some workaround. Instead of /usr/bin/clang-tidy use some wrapper script
for clang-tidy.

$ cat /usr/bin/clang-tidy-clazy.sh
#!/bin/sh
# clang-tidy-clazy.sh
#
# Wrapper to run clang-tidy with Clazy plugin preloaded

CLANG_TIDY=${CLANG_TIDY:-clang-tidy}
CLAZY_SO=${CLAZY_SO:-ClazyClangTidy.so}

exec "$CLANG_TIDY" \
    --load="$CLAZY_SO" \
    "$@"

Set in Qt Creator settings  /usr/bin/clang-tidy-clazy.sh as clang-tidy
executable. Now when I call analyze my project with clang-tidy it shows also
clazy messages. And no need to use standalone clazzy.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to