Add an extension point to allow registration of statically-linked Clang Static
Analyzer checkers that are not a part of the Clang tree. This extension point
employs the mechanism used when checkers are registered from dynamically loaded
plugins.
Details
Details
- Reviewers
george.karpenkov NoQ xazax.hun dcoughlin - Commits
- rGd00ed8e2c200: [analyzer] Allow registering custom statically-linked analyzer checkers
rL335740: [analyzer] Allow registering custom statically-linked analyzer checkers
rC335740: [analyzer] Allow registering custom statically-linked analyzer checkers
Diff Detail
Diff Detail
- Repository
- rC Clang
- Build Status
Buildable 19584 Build 19584: arc lint + arc unit
Event Timeline
Comment Actions
Tests would be nice, but on the other hand AFAIK we don't have unit tests for the analyzer. Maybe it's time we add those.
Comment Actions
Actually, we do have unittests in tools/clang/unittest/Analysis.
@alexfh would you be able to write a unittest in there? It should be fairly easy following the structure of e.g. tools/clang/Analysis/CloneDetectionTest.cpp.
This would also help to ensure this entry point does not bit rot.