Home
last modified time | relevance | path

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

/freebsd-14.2/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
141 if (!Location.isValid() || DeclWithIssue == nullptr) in isSuppressed()
155 std::make_pair(DeclWithIssue, CachedRanges{})); in isSuppressed()
159 CacheInitializer::initialize(DeclWithIssue, SuppressionRanges); in isSuppressed()
H A DPlistDiagnostics.cpp705 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 DHTMLDiagnostics.cpp290 if (const Decl *DeclWithIssue = D.getDeclWithIssue()) { in ReportDiag() local
291 if (const auto *ND = dyn_cast<NamedDecl>(DeclWithIssue)) in ReportDiag()
294 if (const Stmt *Body = DeclWithIssue->getBody()) { in ReportDiag()
H A DBugReporter.cpp3320 void BugReporter::EmitBasicReport(const Decl *DeclWithIssue, in EmitBasicReport() argument
3326 EmitBasicReport(DeclWithIssue, Checker->getCheckerName(), Name, Category, Str, in EmitBasicReport()
3330 void BugReporter::EmitBasicReport(const Decl *DeclWithIssue, in EmitBasicReport() argument
3339 R->setDeclWithIssue(DeclWithIssue); in EmitBasicReport()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp116 const Decl *DeclWithIssue; member in __anon7d4fad6a0111::StringRefCheckerVisitor
123 : DeclWithIssue(declWithIssue), BR(br), Checker(checker) {} in StringRefCheckerVisitor()
183 BR.EmitBasicReport(DeclWithIssue, Checker, desc, "LLVM Conventions", desc, in VisitVarDecl()
/freebsd-14.2/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()
633 void EmitBasicReport(const Decl *DeclWithIssue, const CheckerBase *Checker,
639 void EmitBasicReport(const Decl *DeclWithIssue, CheckerNameRef CheckerName,
H A DBugSuppression.h38 const Decl *DeclWithIssue,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/
H A DPathDiagnostic.h765 const Decl *DeclWithIssue; variable
788 PathDiagnostic(StringRef CheckerName, const Decl *DeclWithIssue,
858 const Decl *getDeclWithIssue() const { return DeclWithIssue; } in getDeclWithIssue()
861 DeclWithIssue = D; in setDeclWithIssue()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DPathDiagnostic.cpp119 : CheckerName(CheckerName), DeclWithIssue(declWithIssue), in PathDiagnostic()