Re: [cfe-users] How to use clang-tidy plugin.

2017-01-17 Thread Alfred Zien via cfe-users
Hmm, I discovered that it is actually part of libclang. But still, I run $ clang main.c -fsyntax-only -Xclang -load -Xclang /Users/zienag/dev/llvm_trunk/build/lib/libclang.dylib -Xclang -plugin -Xclang clang-tidy And it produces error: error: unable to find plugin 'clang-tidy' :( > On 17 J

[cfe-users] How to use clang-tidy plugin.

2017-01-17 Thread Alfred Zien via cfe-users
Hi! I need to use clang-tidy as a clang plugin, but can't figure out how to do it. I see ClangTidyPlugin.cpp file, and there is ClangTidyPlugin target, but when I run `make clangTidyPlugin` it produces only libclangTidyPlugin.a, no any dynamic library. Am I doing something wrong? Is it even po