clang API Documentation

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

static void cleanupDeallocOrFinalize ( MigrationPass pass) [static]
static bool isBodyEmpty ( CompoundStmt body,
ASTContext Ctx,
std::vector< SourceLocation > &  MacroLocs 
) [static]

Definition at line 188 of file TransEmptyStatementsAndDealloc.cpp.

References clang::CompoundStmt::body().

Referenced by cleanupDeallocOrFinalize().

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