Home
last modified time | relevance | path

Searched refs:getBooleanOption (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DAnalyzerOptions.cpp125 bool AnalyzerOptions::getBooleanOption(StringRef Name, bool DefaultVal, in getBooleanOption() function in AnalyzerOptions
142 bool AnalyzerOptions::getBooleanOption(Optional<bool> &V, StringRef Name, in getBooleanOption() function in AnalyzerOptions
146 V = getBooleanOption(Name, DefaultVal, C, SearchInParents); in getBooleanOption()
151 return getBooleanOption(IncludeTemporaryDtorsInCFG, in includeTemporaryDtorsInCFG()
157 return getBooleanOption(InlineCXXStandardLibrary, in mayInlineCXXStandardLibrary()
163 return getBooleanOption(InlineTemplateFunctions, in mayInlineTemplateFunctions()
169 return getBooleanOption(InlineCXXAllocator, in mayInlineCXXAllocator()
175 return getBooleanOption(InlineCXXContainerMethods, in mayInlineCXXContainerMethods()
181 return getBooleanOption(InlineCXXSharedPtrDtor, in mayInlineCXXSharedPtrDtor()
188 return getBooleanOption(ObjCInliningMode, in mayInlineObjCMethod()
[all …]
DBugReporter.cpp3084 if (options.getBooleanOption("path-diagnostics-alternate", true)) { in generatePathDiagnostic()
/external/clang/unittests/StaticAnalyzer/
DAnalyzerOptionsTest.cpp38 EXPECT_TRUE(Opts.getBooleanOption("Option", false, &CheckerOne)); in TEST()
40 EXPECT_TRUE(Opts.getBooleanOption("Option", false, &CheckerOne, true)); in TEST()
43 EXPECT_TRUE(Opts.getBooleanOption("Option2", false, &CheckerOne, true)); in TEST()
46 EXPECT_FALSE(Opts.getBooleanOption("Option2", false, &CheckerOne)); in TEST()
47 EXPECT_TRUE(Opts.getBooleanOption("Option2", true, &CheckerOne)); in TEST()
52 EXPECT_FALSE(Opts.getBooleanOption("Option", false, &CheckerTwo)); in TEST()
53 EXPECT_TRUE(Opts.getBooleanOption("Option", true, &CheckerTwo)); in TEST()
54 EXPECT_FALSE(Opts.getBooleanOption("Option", true, &CheckerTwo, true)); in TEST()
/external/clang/include/clang/StaticAnalyzer/Core/
DAnalyzerOptions.h309 bool getBooleanOption(StringRef Name, bool DefaultVal,
327 bool getBooleanOption(Optional<bool> &V, StringRef Name, bool DefaultVal,
/external/clang/lib/StaticAnalyzer/Checkers/
DAllocationDiagnostics.cpp20 return AOpts.getBooleanOption("leak-diagnostics-reference-allocation", in shouldIncludeAllocationSiteInLeakDiagnostics()
DNullabilityChecker.cpp1219 mgr.getAnalyzerOptions().getBooleanOption( \
DLocalizationChecker.cpp1291 mgr.getAnalyzerOptions().getBooleanOption("AggressiveReport", false); in registerNonLocalizedStringChecker()
DMallocChecker.cpp2732 checker->IsOptimistic = mgr.getAnalyzerOptions().getBooleanOption( in registerNewDeleteLeaksChecker()
2747 checker->IsOptimistic = mgr.getAnalyzerOptions().getBooleanOption( \