Home
last modified time | relevance | path

Searched refs:CheckerName (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DAnalyzerOptions.cpp117 StringRef AnalyzerOptions::getCheckerStringOption(StringRef CheckerName, in getCheckerStringOption() argument
120 assert(!CheckerName.empty() && in getCheckerStringOption()
127 Config.find((Twine(CheckerName) + ":" + OptionName).str()); in getCheckerStringOption()
130 size_t Pos = CheckerName.rfind('.'); in getCheckerStringOption()
134 CheckerName = CheckerName.substr(0, Pos); in getCheckerStringOption()
135 } while (!CheckerName.empty() && SearchInParents); in getCheckerStringOption()
151 bool AnalyzerOptions::getCheckerBooleanOption(StringRef CheckerName, in getCheckerBooleanOption() argument
155 getCheckerStringOption(CheckerName, OptionName, in getCheckerBooleanOption()
175 int AnalyzerOptions::getCheckerIntegerOption(StringRef CheckerName, in getCheckerIntegerOption() argument
179 bool HasFailed = getCheckerStringOption(CheckerName, OptionName, in getCheckerIntegerOption()
DChecker.cpp27 CheckerProgramPointTag::CheckerProgramPointTag(StringRef CheckerName, in CheckerProgramPointTag() argument
29 : SimpleProgramPointTag(CheckerName, Msg) {} in CheckerProgramPointTag()
DBugReporter.cpp2111 isDependency(const CheckerRegistryData &Registry, StringRef CheckerName) { in isDependency() argument
2113 if (Pair.second == CheckerName) in isDependency()
2120 StringRef CheckerName) { in isHidden() argument
2122 if (Checker.FullName == CheckerName) in isHidden()
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugType.h31 const CheckerNameRef CheckerName;
40 BugType(CheckerNameRef CheckerName, StringRef Name, StringRef Cat,
42 : CheckerName(CheckerName), Description(Name), Category(Cat), in CheckerName() argument
46 : CheckerName(Checker->getCheckerName()), Description(Name),
58 StringRef Ret = Checker ? Checker->getCheckerName() : CheckerName; in getCheckerName()
DBugReporter.h628 void EmitBasicReport(const Decl *DeclWithIssue, CheckerNameRef CheckerName,
639 BugType *getBugTypeForName(CheckerNameRef CheckerName, StringRef name,
/external/llvm-project/clang/unittests/StaticAnalyzer/
DAnalyzerOptionsTest.cpp17 auto IsDebugChecker = [](StringRef CheckerName) { in TEST() argument
18 return CheckerName.startswith("debug"); in TEST()
20 auto IsAlphaChecker = [](StringRef CheckerName) { in TEST() argument
21 return CheckerName.startswith("alpha"); in TEST()
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/
DAnalyzerOptions.h330 bool getCheckerBooleanOption(StringRef CheckerName, StringRef OptionName,
350 int getCheckerIntegerOption(StringRef CheckerName, StringRef OptionName,
370 StringRef getCheckerStringOption(StringRef CheckerName, StringRef OptionName,
436 for (StringRef CheckerName : StaticAnalyzerCheckerNames) { in getRegisteredCheckers() local
437 if (!CheckerName.startswith("debug.") && in getRegisteredCheckers()
438 (IncludeExperimental || !CheckerName.startswith("alpha."))) in getRegisteredCheckers()
439 Checkers.push_back(CheckerName); in getRegisteredCheckers()
DChecker.h512 CheckerProgramPointTag(StringRef CheckerName, StringRef Msg);
/external/clang/lib/StaticAnalyzer/Core/
DAnalyzerOptions.cpp105 StringRef AnalyzerOptions::getCheckerOption(StringRef CheckerName, in getCheckerOption() argument
114 Config.find((Twine(CheckerName) + ":" + OptionName).str()); in getCheckerOption()
117 size_t Pos = CheckerName.rfind('.'); in getCheckerOption()
120 CheckerName = CheckerName.substr(0, Pos); in getCheckerOption()
121 } while (!CheckerName.empty() && SearchInParents); in getCheckerOption()
DIssueHash.cpp179 StringRef CheckerName, StringRef BugType, in GetIssueString() argument
184 return (llvm::Twine(CheckerName) + Delimiter + in GetIssueString()
193 StringRef CheckerName, StringRef BugType, in GetIssueHash() argument
198 GetIssueString(SM, IssueLoc, CheckerName, BugType, D, LangOpts)); in GetIssueHash()
DChecker.cpp26 CheckerProgramPointTag::CheckerProgramPointTag(StringRef CheckerName, in CheckerProgramPointTag() argument
28 : SimpleProgramPointTag(CheckerName, Msg) {} in CheckerProgramPointTag()
/external/llvm-project/clang/include/clang/Analysis/
DIssueHash.h35 llvm::StringRef CheckerName,
44 llvm::StringRef CheckerName,
DPathDiagnostic.h769 std::string CheckerName; variable
793 PathDiagnostic(StringRef CheckerName, const Decl *DeclWithIssue,
842 StringRef getCheckerName() const { return CheckerName; } in getCheckerName()
/external/llvm-project/clang/lib/Analysis/
DIssueHash.cpp185 StringRef CheckerName, in getIssueString() argument
191 return (llvm::Twine(CheckerName) + Delimiter + in getIssueString()
200 StringRef CheckerName, in getIssueHash() argument
206 IssueLoc, CheckerName, WarningMessage, IssueDecl, LangOpts)); in getIssueHash()
DPathDiagnostic.cpp121 StringRef CheckerName, const Decl *declWithIssue, StringRef bugtype, in PathDiagnostic() argument
125 : CheckerName(CheckerName), DeclWithIssue(declWithIssue), in PathDiagnostic()
/external/clang/include/clang/StaticAnalyzer/Core/
DIssueHash.h40 llvm::StringRef CheckerName,
47 llvm::StringRef CheckerName, llvm::StringRef BugType,
DAnalyzerOptions.h290 StringRef getCheckerOption(StringRef CheckerName, StringRef OptionName,
DChecker.h500 CheckerProgramPointTag(StringRef CheckerName, StringRef Msg);
/external/clang/include/clang/StaticAnalyzer/Checkers/
DCheckerBase.td29 string CheckerName = name;
/external/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
DCheckerBase.td109 string CheckerName = name;
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DStreamChecker.cpp366 const CheckerNameRef CheckerName; member
372 CheckerName == BR.getBugType().getCheckerName()) in operator ()()