#include "SuspiciousStringCompareCheck.h"
#include "../utils/Matchers.h"
#include "../utils/OptionsUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/Lexer.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::bugprone {
static const char KnownStringCompareFunctions[] = …;
SuspiciousStringCompareCheck::SuspiciousStringCompareCheck(
StringRef Name, ClangTidyContext *Context)
: … { … }
void SuspiciousStringCompareCheck::storeOptions(
ClangTidyOptions::OptionMap &Opts) { … }
void SuspiciousStringCompareCheck::registerMatchers(MatchFinder *Finder) { … }
void SuspiciousStringCompareCheck::check(
const MatchFinder::MatchResult &Result) { … }
}