#include <string>
#include "AvoidUnderscoreInGoogletestNameCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Lex/MacroArgs.h"
#include "clang/Lex/PPCallbacks.h"
#include "clang/Lex/Preprocessor.h"
namespace clang::tidy::google::readability {
constexpr llvm::StringLiteral KDisabledTestPrefix = …;
static bool isGoogletestTestMacro(StringRef MacroName) { … }
namespace {
class AvoidUnderscoreInGoogletestNameCallback : public PPCallbacks { … };
}
void AvoidUnderscoreInGoogletestNameCheck::registerPPCallbacks(
const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) { … }
}