#include "RedundantStringCStrCheck.h"
#include "../utils/FixItHintUtils.h"
#include "../utils/Matchers.h"
#include "../utils/OptionsUtils.h"
#include "clang/Lex/Lexer.h"
#include "clang/Tooling/FixIt.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::readability {
namespace {
AST_MATCHER(MaterializeTemporaryExpr, isBoundToLValue) { … }
}
RedundantStringCStrCheck::RedundantStringCStrCheck(StringRef Name,
ClangTidyContext *Context)
: … { … }
void RedundantStringCStrCheck::registerMatchers(
ast_matchers::MatchFinder *Finder) { … }
void RedundantStringCStrCheck::check(const MatchFinder::MatchResult &Result) { … }
}