#include "clang/StaticAnalyzer/Core/BugReporter/BugSuppression.h"
#include "clang/AST/RecursiveASTVisitor.h"
#include "clang/StaticAnalyzer/Core/BugReporter/BugReporter.h"
usingnamespaceclang;
usingnamespaceento;
namespace {
Ranges;
inline bool hasSuppression(const Decl *D) { … }
inline bool hasSuppression(const AttributedStmt *S) { … }
template <class NodeType> inline SourceRange getRange(const NodeType *Node) { … }
template <> inline SourceRange getRange(const AttributedStmt *S) { … }
inline bool isLessOrEqual(SourceLocation LHS, SourceLocation RHS,
const SourceManager &SM) { … }
inline bool fullyContains(SourceRange Larger, SourceRange Smaller,
const SourceManager &SM) { … }
class CacheInitializer : public RecursiveASTVisitor<CacheInitializer> { … };
}
bool BugSuppression::isSuppressed(const BugReport &R) { … }
bool BugSuppression::isSuppressed(const PathDiagnosticLocation &Location,
const Decl *DeclWithIssue,
DiagnosticIdentifierList Hashtags) { … }