clang  6.0.0svn
Functions
TransEmptyStatementsAndDealloc.cpp File Reference
#include "Transforms.h"
#include "Internals.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/Basic/SourceManager.h"
Include dependency graph for TransEmptyStatementsAndDealloc.cpp:

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()

static void cleanupDeallocOrFinalize ( MigrationPass pass)
static

◆ isBodyEmpty()

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

Definition at line 186 of file TransEmptyStatementsAndDealloc.cpp.

◆ isEmptyARCMTMacroStatement()

static bool isEmptyARCMTMacroStatement ( NullStmt S,
std::vector< SourceLocation > &  MacroLocs,
ASTContext Ctx 
)
static

Definition at line 32 of file TransEmptyStatementsAndDealloc.cpp.