#include "StringCompareCheck.h"
#include "../utils/OptionsUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Tooling/FixIt.h"
#include "llvm/ADT/StringRef.h"
usingnamespaceclang::ast_matchers;
optutils;
namespace clang::tidy::readability {
static const StringRef CompareMessage = …;
static const StringRef DefaultStringLikeClasses = …;
StringCompareCheck::StringCompareCheck(StringRef Name,
ClangTidyContext *Context)
: … { … }
void StringCompareCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) { … }
void StringCompareCheck::registerMatchers(MatchFinder *Finder) { … }
void StringCompareCheck::check(const MatchFinder::MatchResult &Result) { … }
}