| /llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugSuppression.cpp | 132 const Decl *DeclWithIssue = R.getDeclWithIssue(); in isSuppressed() local 134 return isSuppressed(Location, DeclWithIssue, {}) || in isSuppressed() 135 isSuppressed(UniqueingLocation, DeclWithIssue, {}); in isSuppressed() 139 const Decl *DeclWithIssue, in isSuppressed() argument 144 if (!DeclWithIssue) { in isSuppressed() 145 // FIXME: This defeats the purpose of passing DeclWithIssue to begin with. in isSuppressed() 149 DeclWithIssue = ACtx.getTranslationUnitDecl(); in isSuppressed() 158 dyn_cast_or_null<Decl>(DeclWithIssue->getLexicalDeclContext()); in isSuppressed() 162 DeclWithIssue = Parent; in isSuppressed() 177 std::make_pair(DeclWithIssue, CachedRange in isSuppressed() [all...] |
| H A D | PlistDiagnostics.cpp | 705 const Decl *DeclWithIssue = D->getDeclWithIssue(); in FlushDiagnosticsImpl() local 707 DeclWithIssue, LangOpts)) in FlushDiagnosticsImpl() 712 if (const Decl *DeclWithIssue = D->getDeclWithIssue()) { in FlushDiagnosticsImpl() local 714 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DeclWithIssue)) { in FlushDiagnosticsImpl() 742 if (const Stmt *Body = DeclWithIssue->getBody()) { in FlushDiagnosticsImpl()
|
| H A D | HTMLDiagnostics.cpp | 294 if (const Decl *DeclWithIssue = D.getDeclWithIssue()) { in ReportDiag() 295 if (const auto *ND = dyn_cast<NamedDecl>(DeclWithIssue)) in ReportDiag() 298 if (const Stmt *Body = DeclWithIssue->getBody()) { in ReportDiag() 292 if (const Decl *DeclWithIssue = D.getDeclWithIssue()) { ReportDiag() local
|
| H A D | BugReporter.cpp | 3383 void BugReporter::EmitBasicReport(const Decl *DeclWithIssue, in EmitBasicReport() 3389 EmitBasicReport(DeclWithIssue, Checker->getCheckerName(), Name, Category, Str, in getBugTypeForName() 3393 void BugReporter::EmitBasicReport(const Decl *DeclWithIssue, in getBugTypeForName() 3402 R->setDeclWithIssue(DeclWithIssue); 3362 EmitBasicReport(const Decl * DeclWithIssue,const CheckerBase * Checker,StringRef Name,StringRef Category,StringRef Str,PathDiagnosticLocation Loc,ArrayRef<SourceRange> Ranges,ArrayRef<FixItHint> Fixits) EmitBasicReport() argument 3372 EmitBasicReport(const Decl * DeclWithIssue,CheckerNameRef CheckName,StringRef name,StringRef category,StringRef str,PathDiagnosticLocation Loc,ArrayRef<SourceRange> Ranges,ArrayRef<FixItHint> Fixits) EmitBasicReport() argument
|
| /llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | LLVMConventionsChecker.cpp | 116 const Decl *DeclWithIssue; member in __anon19c1d9470111::StringRefCheckerVisitor 123 : DeclWithIssue(declWithIssue), BR(br), Checker(checker) {} in StringRefCheckerVisitor() 183 BR.EmitBasicReport(DeclWithIssue, Checker, desc, "LLVM Conventions", desc, in VisitVarDecl()
|
| /llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | BugReporter.h | 253 const Decl *DeclWithIssue = nullptr; variable 269 return DeclWithIssue; in getDeclWithIssue() 283 DeclWithIssue = declWithIssue; in setDeclWithIssue() 644 void EmitBasicReport(const Decl *DeclWithIssue, const CheckerBase *Checker, 650 void EmitBasicReport(const Decl *DeclWithIssue, CheckerNameRef CheckerName,
|
| H A D | BugSuppression.h | 41 const Decl *DeclWithIssue,
|
| /llvm-project/clang/include/clang/Analysis/ |
| H A D | PathDiagnostic.h | 765 const Decl *DeclWithIssue; variable 791 PathDiagnostic(StringRef CheckerName, const Decl *DeclWithIssue, 864 const Decl *getDeclWithIssue() const { return DeclWithIssue; } in getDeclWithIssue() 867 DeclWithIssue = D; in setDeclWithIssue()
|
| /llvm-project/clang/lib/Analysis/ |
| H A D | PathDiagnostic.cpp | 120 : CheckerName(CheckerName), DeclWithIssue(declWithIssue), in PathDiagnostic()
|