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
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 182722 include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h
include/clang/StaticAnalyzer/Frontend/FrontendActions.h
lib/FrontendTool/ExecuteCompilerInvocation.cpp
lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp
lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
|