#include "StandaloneEmptyCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclBase.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/Stmt.h"
#include "clang/AST/Type.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Casting.h"
namespace clang::tidy::bugprone {
BoundNodes;
callee;
callExpr;
classTemplateDecl;
cxxMemberCallExpr;
cxxMethodDecl;
expr;
functionDecl;
hasAncestor;
hasName;
hasParent;
ignoringImplicit;
ignoringParenImpCasts;
MatchFinder;
optionally;
returns;
stmt;
stmtExpr;
unless;
voidType;
const Expr *getCondition(const BoundNodes &Nodes, const StringRef NodeId) { … }
void StandaloneEmptyCheck::registerMatchers(ast_matchers::MatchFinder *Finder) { … }
void StandaloneEmptyCheck::check(const MatchFinder::MatchResult &Result) { … }
}