#include "SignedCharMisuseCheck.h"
#include "../utils/OptionsUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
usingnamespaceclang::ast_matchers;
usingnamespaceclang::ast_matchers::internal;
namespace clang::tidy::bugprone {
static constexpr int UnsignedASCIIUpperBound = …;
SignedCharMisuseCheck::SignedCharMisuseCheck(StringRef Name,
ClangTidyContext *Context)
: … { … }
void SignedCharMisuseCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) { … }
BindableMatcher<clang::Stmt> SignedCharMisuseCheck::charCastExpression(
bool IsSigned, const Matcher<clang::QualType> &IntegerType,
const std::string &CastBindName) const { … }
void SignedCharMisuseCheck::registerMatchers(MatchFinder *Finder) { … }
void SignedCharMisuseCheck::check(const MatchFinder::MatchResult &Result) { … }
}