#include "UseOverrideCheck.h"
#include "../utils/LexerUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/Lexer.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::modernize {
UseOverrideCheck::UseOverrideCheck(StringRef Name, ClangTidyContext *Context)
: … { … }
void UseOverrideCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) { … }
void UseOverrideCheck::registerMatchers(MatchFinder *Finder) { … }
static SmallVector<Token, 16>
parseTokens(CharSourceRange Range, const MatchFinder::MatchResult &Result) { … }
static StringRef getText(const Token &Tok, const SourceManager &Sources) { … }
void UseOverrideCheck::check(const MatchFinder::MatchResult &Result) { … }
}