#include "FasterStrsplitDelimiterCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Tooling/FixIt.h"
#include <optional>
usingnamespaceclang::ast_matchers;
namespace clang::tidy::abseil {
namespace {
AST_MATCHER(StringLiteral, lengthIsOne) { … }
std::optional<std::string> makeCharacterLiteral(const StringLiteral *Literal,
const ASTContext &Context) { … }
}
void FasterStrsplitDelimiterCheck::registerMatchers(MatchFinder *Finder) { … }
void FasterStrsplitDelimiterCheck::check(
const MatchFinder::MatchResult &Result) { … }
}