Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
clang 20.0.0git
TransEmptyStatementsAndDealloc.cpp File Reference

Go to the source code of this file.

Functions

static bool isEmptyARCMTMacroStatement (NullStmt *S, std::vector< SourceLocation > &MacroLocs, ASTContext &Ctx)
 
static bool isBodyEmpty (CompoundStmt *body, ASTContext &Ctx, std::vector< SourceLocation > &MacroLocs)
 
static void cleanupDeallocOrFinalize (MigrationPass &pass)
 

Function Documentation

◆ cleanupDeallocOrFinalize()

◆ isBodyEmpty()

static bool isBodyEmpty ( CompoundStmt body,
ASTContext Ctx,
std::vector< SourceLocation > &  MacroLocs 
)
static

Definition at line 184 of file TransEmptyStatementsAndDealloc.cpp.

References clang::CompoundStmt::body().

Referenced by cleanupDeallocOrFinalize().

◆ isEmptyARCMTMacroStatement()