#include "AvoidConstParamsInDecls.h"
#include "../utils/LexerUtils.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Lex/Lexer.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::readability {
namespace {
SourceRange getTypeRange(const ParmVarDecl &Param) { … }
static std::optional<Token>
findConstToRemove(const ParmVarDecl &Param,
const MatchFinder::MatchResult &Result) { … }
}
void AvoidConstParamsInDecls::storeOptions(ClangTidyOptions::OptionMap &Opts) { … }
void AvoidConstParamsInDecls::registerMatchers(MatchFinder *Finder) { … }
void AvoidConstParamsInDecls::check(const MatchFinder::MatchResult &Result) { … }
}