#include "ProTypeConstCastCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::cppcoreguidelines {
static bool hasConstQualifier(QualType Type) { … }
static bool hasVolatileQualifier(QualType Type) { … }
ProTypeConstCastCheck::ProTypeConstCastCheck(StringRef Name,
ClangTidyContext *Context)
: … { … }
void ProTypeConstCastCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) { … }
void ProTypeConstCastCheck::registerMatchers(MatchFinder *Finder) { … }
void ProTypeConstCastCheck::check(const MatchFinder::MatchResult &Result) { … }
}