#include "MultipleStatementMacroCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::bugprone {
namespace {
AST_MATCHER(Expr, isInMacro) { … }
const Stmt *nextStmt(const MatchFinder::MatchResult &Result, const Stmt *S) { … }
ExpansionRanges;
ExpansionRanges getExpansionRanges(SourceLocation Loc,
const MatchFinder::MatchResult &Result) { … }
}
void MultipleStatementMacroCheck::registerMatchers(MatchFinder *Finder) { … }
void MultipleStatementMacroCheck::check(
const MatchFinder::MatchResult &Result) { … }
}