Home
last modified time | relevance | path

Searched refs:AnOpts (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/clang/unittests/StaticAnalyzer/
DRegisterCustomCheckersTest.cpp44 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 …]
DCheckerRegistration.h37 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()
DTestReturnValueUnderConstruction.cpp46 AnalysisASTConsumer &AnalysisConsumer, AnalyzerOptions &AnOpts) { in addTestReturnValueUnderConstructionChecker() argument
47 AnOpts.CheckersAndPackages = in addTestReturnValueUnderConstructionChecker()
DCallEventTest.cpp60 AnalyzerOptions &AnOpts) { in addCXXDeallocatorChecker() argument
61 AnOpts.CheckersAndPackages = {{"test.CXXDeallocator", true}}; in addCXXDeallocatorChecker()
DFalsePositiveRefutationBRVisitorTest.cpp95 AnalyzerOptions &AnOpts) { in addFalsePositiveGenerator() argument
96 AnOpts.CheckersAndPackages = {{"test.FalsePositiveGenerator", true}, in addFalsePositiveGenerator()
/external/llvm-project/clang/lib/StaticAnalyzer/Frontend/
DCheckerRegistry.cpp53 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/
DCheckerRegistryData.cpp123 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/
DExecuteCompilerInvocation.cpp242 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/
DUninitializedObjectChecker.cpp608 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/
DCheckerRegistry.h92 DiagnosticsEngine &Diags, AnalyzerOptions &AnOpts,
193 AnalyzerOptions &AnOpts; variable
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/
DCheckerRegistryData.h216 void printCheckerWithDescList(const AnalyzerOptions &AnOpts, raw_ostream &Out,
219 void printCheckerOptionList(const AnalyzerOptions &AnOpts,
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp536 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/
DCompilerInvocation.cpp390 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 …]