clang-tools  14.0.0git
Namespaces | Functions
ASTUtils.h File Reference
#include "clang/AST/AST.h"
Include dependency graph for ASTUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//


const FunctionDecl * clang::tidy::utils::getSurroundingFunction (ASTContext &Context, const Stmt &Statement)
bool clang::tidy::utils::isBinaryOrTernary (const Expr *E)
bool clang::tidy::utils::exprHasBitFlagWithSpelling (const Expr *Flags, const SourceManager &SM, const LangOptions &LangOpts, StringRef FlagName)
 Checks whether a macro flag is present in the given argument. More...
bool clang::tidy::utils::rangeIsEntirelyWithinMacroArgument (SourceRange Range, const SourceManager *SM)
bool clang::tidy::utils::rangeContainsMacroExpansion (SourceRange Range, const SourceManager *SM)
bool clang::tidy::utils::rangeCanBeFixed (SourceRange Range, const SourceManager *SM)