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 Jan 2017, at 18:12, Alfred Zien via cfe-users 
> <cfe-users@lists.llvm.org> wrote:
> 
> 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 possible?
> 
> Thanks for any help.
> _______________________________________________
> cfe-users mailing list
> cfe-users@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

_______________________________________________
cfe-users mailing list
cfe-users@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

Reply via email to