llvm/clang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp

//===--- UseOverrideCheck.cpp - clang-tidy --------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#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) {}

// Re-lex the tokens to get precise locations to insert 'override' and remove
// 'virtual'.
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) {}

} // namespace clang::tidy::modernize