#include "RedundantPreprocessorCheck.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Lex/Lexer.h"
#include "clang/Lex/PPCallbacks.h"
#include "clang/Lex/Preprocessor.h"
namespace clang::tidy::readability {
namespace {
struct PreprocessorEntry { … };
const char WarningDescription[] = …;
const char NoteDescription[] = …;
class RedundantPreprocessorCallbacks : public PPCallbacks { … };
}
void RedundantPreprocessorCheck::registerPPCallbacks(
const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) { … }
}