#include "FunctionSizeCheck.h"
#include "clang/AST/RecursiveASTVisitor.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "llvm/ADT/BitVector.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::readability {
namespace {
class FunctionASTVisitor : public RecursiveASTVisitor<FunctionASTVisitor> { … };
}
FunctionSizeCheck::FunctionSizeCheck(StringRef Name, ClangTidyContext *Context)
: … { … }
void FunctionSizeCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) { … }
void FunctionSizeCheck::registerMatchers(MatchFinder *Finder) { … }
void FunctionSizeCheck::check(const MatchFinder::MatchResult &Result) { … }
}