#include "DynamicStaticInitializersCheck.h"
#include "../utils/FileExtensionsUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::bugprone {
AST_MATCHER(clang::VarDecl, hasConstantDeclaration) { … }
DynamicStaticInitializersCheck::DynamicStaticInitializersCheck(
StringRef Name, ClangTidyContext *Context)
: … { … }
void DynamicStaticInitializersCheck::registerMatchers(MatchFinder *Finder) { … }
void DynamicStaticInitializersCheck::check(const MatchFinder::MatchResult &Result) { … }
}