clang-tools 20.0.0git
Namespaces | Functions
ASTUtils.h File Reference
#include "clang/AST/AST.h"

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::tidy
 
namespace  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.
 
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)
 
bool clang::tidy::utils::areStatementsIdentical (const Stmt *FirstStmt, const Stmt *SecondStmt, const ASTContext &Context, bool Canonical)
 
const IndirectFieldDecl * clang::tidy::utils::findOutermostIndirectFieldDeclForField (const FieldDecl *FD)