Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h99 const Decl *DeclWithIssue = nullptr; variable
262 DeclWithIssue = declWithIssue; in setDeclWithIssue()
493 void EmitBasicReport(const Decl *DeclWithIssue, const CheckerBase *Checker,
498 void EmitBasicReport(const Decl *DeclWithIssue, CheckName CheckName,
H A DPathDiagnostic.h769 const Decl *DeclWithIssue; variable
792 PathDiagnostic(StringRef CheckName, const Decl *DeclWithIssue,
853 const Decl *getDeclWithIssue() const { return DeclWithIssue; } in getDeclWithIssue()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp117 const Decl *DeclWithIssue; member in __anonc69ecde30111::StringRefCheckerVisitor
124 : DeclWithIssue(declWithIssue), BR(br), Checker(checker) {} in StringRefCheckerVisitor()
184 BR.EmitBasicReport(DeclWithIssue, Checker, desc, "LLVM Conventions", desc, in VisitVarDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp196 if (const Decl *DeclWithIssue = D.getDeclWithIssue()) { in ReportDiag() local
197 if (const auto *ND = dyn_cast<NamedDecl>(DeclWithIssue)) in ReportDiag()
200 if (const Stmt *Body = DeclWithIssue->getBody()) { in ReportDiag()
545 const Decl *DeclWithIssue = D.getDeclWithIssue(); in FinalizeHTML() local
558 << GetIssueHash(SMgr, L, D.getCheckName(), D.getBugType(), DeclWithIssue, in FinalizeHTML()
H A DPlistDiagnostics.cpp602 const Decl *DeclWithIssue = D->getDeclWithIssue(); in FlushDiagnosticsImpl() local
604 DeclWithIssue, LangOpts)) in FlushDiagnosticsImpl()
609 if (const Decl *DeclWithIssue = D->getDeclWithIssue()) { in FlushDiagnosticsImpl() local
611 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DeclWithIssue)) { in FlushDiagnosticsImpl()
639 if (const Stmt *Body = DeclWithIssue->getBody()) { in FlushDiagnosticsImpl()
H A DBugReporter.cpp2057 if (DeclWithIssue) in getDeclWithIssue()
2058 return DeclWithIssue; in getDeclWithIssue()
3109 void BugReporter::EmitBasicReport(const Decl *DeclWithIssue, in EmitBasicReport() argument
3114 EmitBasicReport(DeclWithIssue, Checker->getCheckName(), Name, Category, Str, in EmitBasicReport()
3118 void BugReporter::EmitBasicReport(const Decl *DeclWithIssue, in EmitBasicReport() argument
3126 R->setDeclWithIssue(DeclWithIssue); in EmitBasicReport()
H A DPathDiagnostic.cpp136 : CheckName(CheckName), DeclWithIssue(declWithIssue), in PathDiagnostic()
199 DeclWithIssue = CP->getCaller(); in resetDiagnosticLocationToMainFile()