/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | BugReporter.h | 75 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,
|
D | PathDiagnostic.h | 718 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/ |
D | PlistDiagnostics.cpp | 400 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()
|
D | HTMLDiagnostics.cpp | 138 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()
|
D | BugReporter.cpp | 2558 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()
|
D | PathDiagnostic.cpp | 112 DeclWithIssue(declWithIssue), in PathDiagnostic() 178 DeclWithIssue = CP->getCaller(); in resetDiagnosticLocationToMainFile()
|
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | BugReporter.h | 255 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/ |
D | LLVMConventionsChecker.cpp | 118 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/ |
D | LLVMConventionsChecker.cpp | 116 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/ |
D | HTMLDiagnostics.cpp | 224 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()
|
D | PlistDiagnostics.cpp | 699 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()
|
D | BugReporter.cpp | 3283 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/ |
D | PathDiagnostic.h | 770 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/ |
D | PathDiagnostic.cpp | 125 : CheckerName(CheckerName), DeclWithIssue(declWithIssue), in PathDiagnostic()
|