Home
last modified time | relevance | path

Searched refs:DeclWithIssue (Results 1 – 14 of 14) 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/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporter.h255 const Decl *DeclWithIssue = nullptr; variable
271 return DeclWithIssue; in getDeclWithIssue()
285 DeclWithIssue = declWithIssue; in setDeclWithIssue()
622 void EmitBasicReport(const Decl *DeclWithIssue, const CheckerBase *Checker,
628 void EmitBasicReport(const Decl *DeclWithIssue, CheckerNameRef CheckerName,
/external/clang/lib/StaticAnalyzer/Checkers/
DLLVMConventionsChecker.cpp118 const Decl *DeclWithIssue; member in __anon1960a15d0111::StringRefCheckerVisitor
125 : DeclWithIssue(declWithIssue), BR(br), Checker(checker) {} in StringRefCheckerVisitor()
185 BR.EmitBasicReport(DeclWithIssue, Checker, desc, "LLVM Conventions", desc, in VisitVarDecl()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DLLVMConventionsChecker.cpp116 const Decl *DeclWithIssue; member in __anon32f8670b0111::StringRefCheckerVisitor
123 : DeclWithIssue(declWithIssue), BR(br), Checker(checker) {} in StringRefCheckerVisitor()
183 BR.EmitBasicReport(DeclWithIssue, Checker, desc, "LLVM Conventions", desc, in VisitVarDecl()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp224 if (const Decl *DeclWithIssue = D.getDeclWithIssue()) { in ReportDiag() local
225 if (const auto *ND = dyn_cast<NamedDecl>(DeclWithIssue)) in ReportDiag()
228 if (const Stmt *Body = DeclWithIssue->getBody()) { in ReportDiag()
573 const Decl *DeclWithIssue = D.getDeclWithIssue(); in FinalizeHTML() local
586 << getIssueHash(L, D.getCheckerName(), D.getBugType(), DeclWithIssue, in FinalizeHTML()
DPlistDiagnostics.cpp699 const Decl *DeclWithIssue = D->getDeclWithIssue(); in FlushDiagnosticsImpl() local
701 DeclWithIssue, LangOpts)) in FlushDiagnosticsImpl()
706 if (const Decl *DeclWithIssue = D->getDeclWithIssue()) { in FlushDiagnosticsImpl() local
708 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DeclWithIssue)) { in FlushDiagnosticsImpl()
736 if (const Stmt *Body = DeclWithIssue->getBody()) { in FlushDiagnosticsImpl()
DBugReporter.cpp3283 void BugReporter::EmitBasicReport(const Decl *DeclWithIssue, in EmitBasicReport() argument
3289 EmitBasicReport(DeclWithIssue, Checker->getCheckerName(), Name, Category, Str, in EmitBasicReport()
3293 void BugReporter::EmitBasicReport(const Decl *DeclWithIssue, in EmitBasicReport() argument
3302 R->setDeclWithIssue(DeclWithIssue); in EmitBasicReport()
/external/llvm-project/clang/include/clang/Analysis/
DPathDiagnostic.h770 const Decl *DeclWithIssue; variable
793 PathDiagnostic(StringRef CheckerName, const Decl *DeclWithIssue,
863 const Decl *getDeclWithIssue() const { return DeclWithIssue; } in getDeclWithIssue()
866 DeclWithIssue = D; in setDeclWithIssue()
/external/llvm-project/clang/lib/Analysis/
DPathDiagnostic.cpp125 : CheckerName(CheckerName), DeclWithIssue(declWithIssue), in PathDiagnostic()