Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugSuppression.cpp132 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()
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, CachedRanges{})); in isSuppressed()
181 CacheInitializer::initialize(DeclWithIssue, SuppressionRanges); in isSuppressed()
H A DHTMLDiagnostics.cpp292 if (const Decl *DeclWithIssue = D.getDeclWithIssue()) { in ReportDiag() local
293 if (const auto *ND = dyn_cast<NamedDecl>(DeclWithIssue)) in ReportDiag()
296 if (const Stmt *Body = DeclWithIssue->getBody()) { in ReportDiag()
H A DBugReporter.cpp3362 void BugReporter::EmitBasicReport(const Decl *DeclWithIssue, in EmitBasicReport() argument
3368 EmitBasicReport(DeclWithIssue, Checker->getCheckerName(), Name, Category, Str, in EmitBasicReport()
3372 void BugReporter::EmitBasicReport(const Decl *DeclWithIssue, in EmitBasicReport() argument
3381 R->setDeclWithIssue(DeclWithIssue); in EmitBasicReport()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp116 const Decl *DeclWithIssue; member in __anonfe7749740111::StringRefCheckerVisitor
123 : DeclWithIssue(declWithIssue), BR(br), Checker(checker) {} in StringRefCheckerVisitor()
183 BR.EmitBasicReport(DeclWithIssue, Checker, desc, "LLVM Conventions", desc, in VisitVarDecl()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h253 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 DBugSuppression.h41 const Decl *DeclWithIssue,
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DPathDiagnostic.h765 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()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DPathDiagnostic.cpp120 : CheckerName(CheckerName), DeclWithIssue(declWithIssue), in PathDiagnostic()