#include "MisleadingIdentifier.h"
#include "clang/Frontend/CompilerInstance.h"
#include "llvm/Support/ConvertUTF.h"
namespace clang::tidy::misc {
static bool isUnassignedAL(llvm::UTF32 CP) { … }
static bool isUnassignedR(llvm::UTF32 CP) { … }
static bool isR(llvm::UTF32 CP) { … }
static bool hasRTLCharacters(StringRef Buffer) { … }
MisleadingIdentifierCheck::MisleadingIdentifierCheck(StringRef Name,
ClangTidyContext *Context)
: … { … }
MisleadingIdentifierCheck::~MisleadingIdentifierCheck() = default;
void MisleadingIdentifierCheck::check(
const ast_matchers::MatchFinder::MatchResult &Result) { … }
void MisleadingIdentifierCheck::registerMatchers(
ast_matchers::MatchFinder *Finder) { … }
}