#include "ExplicitConstructorCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Lex/Lexer.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::google {
void ExplicitConstructorCheck::registerMatchers(MatchFinder *Finder) { … }
static SourceRange findToken(const SourceManager &Sources,
const LangOptions &LangOpts,
SourceLocation StartLoc, SourceLocation EndLoc,
bool (*Pred)(const Token &)) { … }
static bool declIsStdInitializerList(const NamedDecl *D) { … }
static bool isStdInitializerList(QualType Type) { … }
void ExplicitConstructorCheck::check(const MatchFinder::MatchResult &Result) { … }
}