Home
last modified time | relevance | path

Searched refs:DeclWithIssue (Results 1 – 7 of 7) sorted by relevance

/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporter.h75 const Decl *DeclWithIssue; variable
147 : BT(bt), DeclWithIssue(nullptr), Description(desc), ErrorNode(errornode), in BugReport()
152 : BT(bt), DeclWithIssue(nullptr), ShortDescription(shortDesc), in BugReport()
157 : BT(bt), DeclWithIssue(nullptr), Description(desc), Location(l), in BugReport()
169 : BT(bt), DeclWithIssue(nullptr), Description(desc), in BugReport()
246 DeclWithIssue = declWithIssue; in setDeclWithIssue()
469 void EmitBasicReport(const Decl *DeclWithIssue, const CheckerBase *Checker,
474 void EmitBasicReport(const Decl *DeclWithIssue, CheckName CheckName,
DPathDiagnostic.h718 const Decl *DeclWithIssue; variable
738 PathDiagnostic(StringRef CheckName, const Decl *DeclWithIssue,
803 const Decl *getDeclWithIssue() const { return DeclWithIssue; } in getDeclWithIssue()
/external/clang/lib/StaticAnalyzer/Core/
DPlistDiagnostics.cpp400 const Decl *DeclWithIssue = D->getDeclWithIssue(); in FlushDiagnosticsImpl() local
402 DeclWithIssue, LangOpts)) in FlushDiagnosticsImpl()
407 if (const Decl *DeclWithIssue = D->getDeclWithIssue()) { in FlushDiagnosticsImpl() local
409 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DeclWithIssue)) { in FlushDiagnosticsImpl()
437 if (const Stmt *Body = DeclWithIssue->getBody()) { in FlushDiagnosticsImpl()
DHTMLDiagnostics.cpp138 if (const Decl *DeclWithIssue = D.getDeclWithIssue()) { in ReportDiag() local
139 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DeclWithIssue)) { in ReportDiag()
143 if (const Stmt *Body = DeclWithIssue->getBody()) { in ReportDiag()
245 const Decl *DeclWithIssue = D.getDeclWithIssue(); in ReportDiag() local
258 << GetIssueHash(SMgr, L, D.getCheckName(), D.getBugType(), DeclWithIssue, in ReportDiag()
DBugReporter.cpp2558 if (DeclWithIssue) in getDeclWithIssue()
2559 return DeclWithIssue; in getDeclWithIssue()
3446 void BugReporter::EmitBasicReport(const Decl *DeclWithIssue, in EmitBasicReport() argument
3451 EmitBasicReport(DeclWithIssue, Checker->getCheckName(), Name, Category, Str, in EmitBasicReport()
3454 void BugReporter::EmitBasicReport(const Decl *DeclWithIssue, in EmitBasicReport() argument
3463 R->setDeclWithIssue(DeclWithIssue); in EmitBasicReport()
DPathDiagnostic.cpp112 DeclWithIssue(declWithIssue), in PathDiagnostic()
178 DeclWithIssue = CP->getCaller(); in resetDiagnosticLocationToMainFile()
/external/clang/lib/StaticAnalyzer/Checkers/
DLLVMConventionsChecker.cpp118 const Decl *DeclWithIssue; member in __anon8cae60ff0111::StringRefCheckerVisitor
125 : DeclWithIssue(declWithIssue), BR(br), Checker(checker) {} in StringRefCheckerVisitor()
185 BR.EmitBasicReport(DeclWithIssue, Checker, desc, "LLVM Conventions", desc, in VisitVarDecl()