[PATCH] [clang-tidy] Support for Static Analyzer plugins

Gábor Horváth xazax.hun at gmail.com
Mon May 11 06:02:30 PDT 2015


- New approach to get the list of static analyzer checkers dynamically:
- Manually create a new compiler invocation object from the command line and get the plugin list from that invocation object.

Clang part:
tooling::newDriver and tooling::getCC1Arguments was not the part of the public API. To make this patch work, they need to be added to the public API. If you find this approach a good enough I will update the clang part of this patch.


http://reviews.llvm.org/D9555

Files:
  clang-tidy/CMakeLists.txt
  clang-tidy/ClangTidy.cpp
  clang-tidy/ClangTidy.h
  clang-tidy/tool/CMakeLists.txt
  clang-tidy/tool/ClangTidyMain.cpp
  clang-tidy/tool/Makefile
  test/clang-tidy/clang-static-analyzer-plugin.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9555.25462.patch
Type: text/x-patch
Size: 6079 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150511/23239aa9/attachment.bin>


More information about the cfe-commits mailing list