9 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_ASTUTILS_H 10 #define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_ASTUTILS_H 12 #include "clang/AST/AST.h" 19 const Stmt &Statement);
27 const LangOptions &LangOpts,
32 const SourceManager *SM);
45 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_ASTUTILS_H bool IsBinaryOrTernary(const Expr *E)
bool rangeIsEntirelyWithinMacroArgument(SourceRange Range, const SourceManager *SM)
bool rangeContainsMacroExpansion(SourceRange Range, const SourceManager *SM)
bool exprHasBitFlagWithSpelling(const Expr *Flags, const SourceManager &SM, const LangOptions &LangOpts, StringRef FlagName)
Checks whether a macro flag is present in the given argument.
const FunctionDecl * getSurroundingFunction(ASTContext &Context, const Stmt &Statement)
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
CharSourceRange Range
SourceRange for the file name.
bool rangeCanBeFixed(SourceRange Range, const SourceManager *SM)