Since pretty much all methods of CheckerRegistry has AnalyzerOptions as an argument, it makes sense to just simply require it in it's constructor.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D56988
[analyzer][NFC] Supply CheckerRegistry with AnalyzerOptions ClosedPublic Authored by Szelethus on Jan 20 2019, 3:57 PM.
Details Summary Since pretty much all methods of CheckerRegistry has AnalyzerOptions as an argument, it makes sense to just simply require it in it's constructor.
Diff Detail
Event TimelineHerald added subscribers: cfe-commits, gamesh411, dkrupp and 5 others. · View Herald TranscriptJan 20 2019, 3:57 PM Szelethus added a parent revision: D55424: [analyzer] Supply all checkers with a shouldRegister function.Jan 20 2019, 4:39 PM This revision is now accepted and ready to land.Jan 25 2019, 6:13 PM Closed by commit rL352279: [analyzer][NFC] Supply CheckerRegistry with AnalyzerOptions (authored by Szelethus). · Explain WhyJan 26 2019, 8:02 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 183704 cfe/trunk/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h
cfe/trunk/include/clang/StaticAnalyzer/Frontend/FrontendActions.h
cfe/trunk/lib/FrontendTool/ExecuteCompilerInvocation.cpp
cfe/trunk/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp
cfe/trunk/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
|