clang-tools 22.0.0git
MultipleStatementMacroCheck.cpp File Reference
#include "MultipleStatementMacroCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::tidy
namespace  clang::tidy::bugprone

Typedefs

using clang::tidy::bugprone::ExpansionRanges = std::vector<SourceRange>

Functions

static const Stmt * clang::tidy::bugprone::nextStmt (const MatchFinder::MatchResult &Result, const Stmt *S)
 Find the next statement after S.
static ExpansionRanges clang::tidy::bugprone::getExpansionRanges (SourceLocation Loc, const MatchFinder::MatchResult &Result)
 Get all the macro expansion ranges related to Loc.