#include "UseAnyOfAllOfCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Analysis/Analyses/ExprMutationAnalyzer.h"
#include "clang/Frontend/CompilerInstance.h"
usingnamespaceclang::ast_matchers;
namespace clang {
namespace {
AST_MATCHER_P(Stmt, nextStmt, ast_matchers::internal::Matcher<Stmt>,
InnerMatcher) { … }
}
namespace tidy::readability {
void UseAnyOfAllOfCheck::registerMatchers(MatchFinder *Finder) { … }
static bool isViableLoop(const CXXForRangeStmt &S, ASTContext &Context) { … }
void UseAnyOfAllOfCheck::check(const MatchFinder::MatchResult &Result) { … }
}
}