clang-tools  14.0.0git
Namespaces | Functions
ASTUtils.cpp File Reference
#include "ASTUtils.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Lex/Lexer.h"
Include dependency graph for ASTUtils.cpp:

Go to the source code of this file.

Namespaces

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

Functions

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)