[PATCH] [clang-tidy] Support for Static Analyzer plugins
Alexander Kornienko
alexfh at google.com
Mon May 11 07:50:58 PDT 2015
Oops, hit "Submit" early.
So, I find this approach problematic for a couple of reasons:
1. lack of support for other compilation databases makes the feature hardly usable for many use cases (fixed compilation database is the most basic case which doesn't work well for real projects).
2. getting the list of plugins from the file's compiler arguments seems like a wrong approach. The list of available checks becomes dependent on the build configuration of the project.
I think, a better approach is to add a clang-tidy option for loading a static analyzer plugin and feed it to the static analyzer.
http://reviews.llvm.org/D9555
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the cfe-commits
mailing list