Searched defs:BugType (Results 1 - 5 of 5) sorted by relevance

/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugType.h1 //===--- BugType.h - Bug Information Desciption ----------------*- C++ -*-===//
10 // This file defines BugType, a class representing a bug type.
31 class BugType { class in namespace:clang::ento
40 BugType(class CheckName check, StringRef name, StringRef cat) function in class:clang::ento::BugType
42 BugType(const CheckerBase *checker, StringRef name, StringRef cat) function in class:clang::ento::BugType
45 virtual ~BugType() {}
61 class BuiltinBug : public BugType {
66 : BugType(check, name, categories::LogicError), desc(description) {}
70 : BugType(checker, name, categories::LogicError), desc(description) {}
73 : BugType(checke
[all...]
H A DPathDiagnostic.h719 std::string BugType; member in class:clang::ento::PathDiagnostic
797 StringRef getBugType() const { return BugType; }
/external/clang/lib/StaticAnalyzer/Core/
H A DIssueHash.cpp176 StringRef CheckerName, StringRef BugType,
184 NormalizeLine(SM, IssueLoc, LangOpts) + Delimiter + BugType)
190 StringRef CheckerName, StringRef BugType,
195 GetIssueString(SM, IssueLoc, CheckerName, BugType, D, LangOpts));
174 GetIssueString(const SourceManager &SM, FullSourceLoc &IssueLoc, StringRef CheckerName, StringRef BugType, const Decl *D, const LangOptions &LangOpts) argument
188 GetIssueHash(const SourceManager &SM, FullSourceLoc &IssueLoc, StringRef CheckerName, StringRef BugType, const Decl *D, const LangOptions &LangOpts) argument
H A DHTMLDiagnostics.cpp236 StringRef BugType = D.getBugType(); local
237 if (!BugType.empty())
238 os << "\n<!-- BUGTYPE " << BugType << " -->\n"; local
/external/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp181 const char *BugType = nullptr; local
185 BugType = "Dead initialization";
191 BugType = "Dead increment";
193 if (!BugType) BugType = "Dead assignment";
204 BR.EmitBasicReport(AC->getDecl(), Checker, BugType, "Dead store", os.str(),

Completed in 280 milliseconds