Go to the documentation of this file.
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);
32 const SourceManager *SM);
45 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_ASTUTILS_H
CharSourceRange Range
SourceRange for the file name.
const FunctionDecl * getSurroundingFunction(ASTContext &Context, const Stmt &Statement)
bool isBinaryOrTernary(const Expr *E)
bool exprHasBitFlagWithSpelling(const Expr *Flags, const SourceManager &SM, const LangOptions &LangOpts, StringRef FlagName)
Checks whether a macro flag is present in the given argument.
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
bool rangeCanBeFixed(SourceRange Range, const SourceManager *SM)
bool rangeIsEntirelyWithinMacroArgument(SourceRange Range, const SourceManager *SM)
bool rangeContainsMacroExpansion(SourceRange Range, const SourceManager *SM)