|
clang 23.0.0git
|
#include "clang/StaticAnalyzer/Core/BugReporter/BugSuppression.h"
Public Types | |
| using | DiagnosticIdentifierList = llvm::ArrayRef<llvm::StringRef> |
Public Member Functions | |
| BugSuppression (const ASTContext &ACtx) | |
| bool | isSuppressed (const BugReport &) |
| Return true if the given bug report was explicitly suppressed by the user. | |
| bool | isSuppressed (const PathDiagnosticLocation &Location, const Decl *DeclWithIssue, DiagnosticIdentifierList DiagnosticIdentification) |
| Return true if the bug reported at the given location was explicitly suppressed by the user. | |
Definition at line 29 of file BugSuppression.h.
| using clang::ento::BugSuppression::DiagnosticIdentifierList = llvm::ArrayRef<llvm::StringRef> |
Definition at line 33 of file BugSuppression.h.
|
inlineexplicit |
Definition at line 31 of file BugSuppression.h.
Return true if the given bug report was explicitly suppressed by the user.
Definition at line 159 of file BugSuppression.cpp.
References isSuppressed().
Referenced by isSuppressed().
| bool BugSuppression::isSuppressed | ( | const PathDiagnosticLocation & | Location, |
| const Decl * | DeclWithIssue, | ||
| DiagnosticIdentifierList | DiagnosticIdentification ) |
Return true if the bug reported at the given location was explicitly suppressed by the user.
Definition at line 220 of file BugSuppression.cpp.
References clang::Decl::getLexicalDeclContext(), clang::Decl::getTranslationUnitDecl(), clang::isa(), preferTemplateDefinitionForTemplateSpecializations(), and SM.