llvm/clang-tools-extra/clang-tidy/readability/UseAnyOfAllOfCheck.cpp

//===--- UseAnyOfAllOfCheck.cpp - clang-tidy-------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#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 {
/// Matches a Stmt whose parent is a CompoundStmt, and which is directly
/// followed by a Stmt matching the inner matcher.
AST_MATCHER_P(Stmt, nextStmt, ast_matchers::internal::Matcher<Stmt>,
              InnerMatcher) {}
} // namespace

namespace tidy::readability {

void UseAnyOfAllOfCheck::registerMatchers(MatchFinder *Finder) {}

static bool isViableLoop(const CXXForRangeStmt &S, ASTContext &Context) {}

void UseAnyOfAllOfCheck::check(const MatchFinder::MatchResult &Result) {}

} // namespace tidy::readability
} // namespace clang