[PATCH] D17807: [clang-tidy] Add "clang-tidy as a clang plugin" skeleton.
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 2 06:47:24 PST 2016
bkramer created this revision.
bkramer added a reviewer: klimek.
bkramer added a subscriber: cfe-commits.
This doesn't really do much at the moment. You can load it via libclang
and set the -checks via an extra command line argument as illustrated in
the test case. Support for other options (including headers check) is
currently missing. Also when using this with libclang some checks may
not work with the precompiled preamble in place.
This can be used to easily show clang-tidy warnings in an editor
integration as all that's needed is adding command line flags that are
passed into libclang. Warnings and FixIts are exposed via the existing
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6838 bytes
Desc: not available
More information about the cfe-commits