/external/llvm-project/clang/unittests/StaticAnalyzer/ |
D | RegisterCustomCheckersTest.cpp | 44 AnalyzerOptions &AnOpts) { in addCustomChecker() argument 45 AnOpts.CheckersAndPackages = {{"test.CustomChecker", true}}; in addCustomChecker() 73 AnalyzerOptions &AnOpts) { in addLocIncDecChecker() argument 74 AnOpts.CheckersAndPackages = {{"test.LocIncDecChecker", true}}; in addLocIncDecChecker() 156 AnalyzerOptions &AnOpts) { in addDep() argument 157 AnOpts.CheckersAndPackages = {{"test.Dep", true}, in addDep() 182 AnalyzerOptions &AnOpts) { in addWeakDepCheckerBothEnabled() argument 183 AnOpts.CheckersAndPackages = {{"test.Dep", true}, in addWeakDepCheckerBothEnabled() 195 AnalyzerOptions &AnOpts) { in addWeakDepCheckerBothEnabledSwitched() argument 196 AnOpts.CheckersAndPackages = {{"test.Dep", true}, in addWeakDepCheckerBothEnabledSwitched() [all …]
|
D | CheckerRegistration.h | 37 AnalyzerOptions &AnOpts); 41 AnalyzerOptions &AnOpts) { in addChecker() argument 42 Fn1(AnalysisConsumer, AnOpts); in addChecker() 43 addChecker<Fn2, Fns...>(AnalysisConsumer, AnOpts); in addChecker() 48 AnalyzerOptions &AnOpts) { in addChecker() argument 49 Fn1(AnalysisConsumer, AnOpts); in addChecker()
|
D | TestReturnValueUnderConstruction.cpp | 46 AnalysisASTConsumer &AnalysisConsumer, AnalyzerOptions &AnOpts) { in addTestReturnValueUnderConstructionChecker() argument 47 AnOpts.CheckersAndPackages = in addTestReturnValueUnderConstructionChecker()
|
D | CallEventTest.cpp | 60 AnalyzerOptions &AnOpts) { in addCXXDeallocatorChecker() argument 61 AnOpts.CheckersAndPackages = {{"test.CXXDeallocator", true}}; in addCXXDeallocatorChecker()
|
D | FalsePositiveRefutationBRVisitorTest.cpp | 95 AnalyzerOptions &AnOpts) { in addFalsePositiveGenerator() argument 96 AnOpts.CheckersAndPackages = {{"test.FalsePositiveGenerator", true}, in addFalsePositiveGenerator()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
D | CheckerRegistry.cpp | 53 DiagnosticsEngine &Diags, AnalyzerOptions &AnOpts, in CheckerRegistry() argument 55 : Data(Data), Diags(Diags), AnOpts(AnOpts) { in CheckerRegistry() 173 for (const std::pair<std::string, bool> &Opt : AnOpts.CheckersAndPackages) { in CheckerRegistry() 343 AnalyzerOptions &AnOpts, in insertAndValidate() argument 349 AnOpts.Config.insert({FullOption, std::string(Option.DefaultValStr)}); in insertAndValidate() 365 if (AnOpts.ShouldEmitErrorsOnInvalidConfigValue) { in insertAndValidate() 379 if (AnOpts.ShouldEmitErrorsOnInvalidConfigValue) { in insertAndValidate() 393 AnalyzerOptions &AnOpts, in insertOptionToCollection() argument 400 insertAndValidate(FullName, Option, AnOpts, Diags); in insertOptionToCollection() 409 CheckerOptEntry.second, AnOpts, Diags); in resolveCheckerAndPackageOptions() [all …]
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | CheckerRegistryData.cpp | 123 const AnalyzerOptions &AnOpts, raw_ostream &Out, in printCheckerWithDescList() argument 156 if (AnOpts.ShowCheckerHelpDeveloper) in printCheckerWithDescList() 162 if (AnOpts.ShowCheckerHelpAlpha) in printCheckerWithDescList() 168 if (AnOpts.ShowCheckerHelp) in printCheckerWithDescList() 178 void CheckerRegistryData::printCheckerOptionList(const AnalyzerOptions &AnOpts, in printCheckerOptionList() argument 225 if (AnOpts.ShowCheckerOptionDeveloperList) in printCheckerOptionList() 232 if (AnOpts.ShowCheckerOptionAlphaList) in printCheckerOptionList() 238 if (AnOpts.ShowCheckerOptionList) in printCheckerOptionList()
|
/external/llvm-project/clang/lib/FrontendTool/ |
D | ExecuteCompilerInvocation.cpp | 242 AnalyzerOptions &AnOpts = *Clang->getAnalyzerOpts(); in ExecuteCompilerInvocation() local 245 if (AnOpts.ShowCheckerHelp || AnOpts.ShowCheckerHelpAlpha || in ExecuteCompilerInvocation() 246 AnOpts.ShowCheckerHelpDeveloper) { in ExecuteCompilerInvocation() 252 if (AnOpts.ShowCheckerOptionList || AnOpts.ShowCheckerOptionAlphaList || in ExecuteCompilerInvocation() 253 AnOpts.ShowCheckerOptionDeveloperList) { in ExecuteCompilerInvocation() 259 if (AnOpts.ShowEnabledCheckerList) { in ExecuteCompilerInvocation() 265 if (AnOpts.ShowConfigOptionsList) { in ExecuteCompilerInvocation()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
D | UninitializedObjectChecker.cpp | 608 const AnalyzerOptions &AnOpts = Mgr.getAnalyzerOptions(); in registerUninitializedObjectChecker() local 611 ChOpts.IsPedantic = AnOpts.getCheckerBooleanOption(Chk, "Pedantic"); in registerUninitializedObjectChecker() 612 ChOpts.ShouldConvertNotesToWarnings = AnOpts.getCheckerBooleanOption( in registerUninitializedObjectChecker() 614 ChOpts.CheckPointeeInitialization = AnOpts.getCheckerBooleanOption( in registerUninitializedObjectChecker() 617 std::string(AnOpts.getCheckerStringOption(Chk, "IgnoreRecordsWithField")); in registerUninitializedObjectChecker() 619 AnOpts.getCheckerBooleanOption(Chk, "IgnoreGuardedFields"); in registerUninitializedObjectChecker()
|
/external/llvm-project/clang/include/clang/StaticAnalyzer/Frontend/ |
D | CheckerRegistry.h | 92 DiagnosticsEngine &Diags, AnalyzerOptions &AnOpts, 193 AnalyzerOptions &AnOpts; variable
|
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/ |
D | CheckerRegistryData.h | 216 void printCheckerWithDescList(const AnalyzerOptions &AnOpts, raw_ostream &Out, 219 void printCheckerOptionList(const AnalyzerOptions &AnOpts,
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | DeadStoresChecker.cpp | 536 const AnalyzerOptions &AnOpts = Mgr.getAnalyzerOptions(); in registerDeadStoresChecker() local 538 AnOpts.getCheckerBooleanOption(Chk, "WarnForDeadNestedAssignments"); in registerDeadStoresChecker() 540 AnOpts.getCheckerBooleanOption(Chk, "ShowFixIts"); in registerDeadStoresChecker()
|
/external/llvm-project/clang/lib/Frontend/ |
D | CompilerInvocation.cpp | 390 static void parseAnalyzerConfigs(AnalyzerOptions &AnOpts, 623 static void parseAnalyzerConfigs(AnalyzerOptions &AnOpts, in parseAnalyzerConfigs() argument 629 initOption(AnOpts.Config, Diags, AnOpts.NAME, CMDFLAG, DEFAULT_VAL); in parseAnalyzerConfigs() 633 switch (AnOpts.getUserMode()) { \ in parseAnalyzerConfigs() 635 initOption(AnOpts.Config, Diags, AnOpts.NAME, CMDFLAG, SHALLOW_VAL); \ in parseAnalyzerConfigs() 638 initOption(AnOpts.Config, Diags, AnOpts.NAME, CMDFLAG, DEEP_VAL); \ in parseAnalyzerConfigs() 651 if (!AnOpts.RawSilencedCheckersAndPackages.empty()) { in parseAnalyzerConfigs() 653 AnOpts.getRegisteredCheckers(/*IncludeExperimental=*/true); in parseAnalyzerConfigs() 655 AnOpts.getRegisteredPackages(/*IncludeExperimental=*/true); in parseAnalyzerConfigs() 658 AnOpts.RawSilencedCheckersAndPackages.split(CheckersAndPackages, ";"); in parseAnalyzerConfigs() [all …]
|