clang  6.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::arcmt::MigrationPass Class Reference

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/ARCMigrate/Internals.h"

Collaboration diagram for clang::arcmt::MigrationPass:
Collaboration graph
[legend]

Public Member Functions

 MigrationPass (ASTContext &Ctx, LangOptions::GCMode OrigGCMode, Sema &sema, TransformActions &TA, const CapturedDiagList &capturedDiags, std::vector< SourceLocation > &ARCMTMacroLocs)
 
const CapturedDiagListgetDiags () const
 
bool isGCMigration () const
 
bool noFinalizeRemoval () const
 
void setNoFinalizeRemoval (bool val)
 
bool CFBridgingFunctionsDefined ()
 

Public Attributes

ASTContextCtx
 
LangOptions::GCMode OrigGCMode
 
MigratorOptions MigOptions
 
SemaSemaRef
 
TransformActionsTA
 
const CapturedDiagListCapturedDiags
 
std::vector< SourceLocation > & ARCMTMacroLocs
 
Optional< boolEnableCFBridgeFns
 

Detailed Description

Definition at line 145 of file Internals.h.

Constructor & Destructor Documentation

◆ MigrationPass()

clang::arcmt::MigrationPass::MigrationPass ( ASTContext Ctx,
LangOptions::GCMode  OrigGCMode,
Sema sema,
TransformActions TA,
const CapturedDiagList capturedDiags,
std::vector< SourceLocation > &  ARCMTMacroLocs 
)
inline

Definition at line 156 of file Internals.h.

Member Function Documentation

◆ CFBridgingFunctionsDefined()

bool MigrationPass::CFBridgingFunctionsDefined ( )

Definition at line 27 of file Transforms.cpp.

◆ getDiags()

const CapturedDiagList& clang::arcmt::MigrationPass::getDiags ( ) const
inline

Definition at line 164 of file Internals.h.

◆ isGCMigration()

bool clang::arcmt::MigrationPass::isGCMigration ( ) const
inline

Definition at line 166 of file Internals.h.

References clang::LangOptions::NonGC.

Referenced by traverseAST().

◆ noFinalizeRemoval()

bool clang::arcmt::MigrationPass::noFinalizeRemoval ( ) const
inline

Definition at line 167 of file Internals.h.

References clang::MigratorOptions::NoFinalizeRemoval.

◆ setNoFinalizeRemoval()

void clang::arcmt::MigrationPass::setNoFinalizeRemoval ( bool  val)
inline

Definition at line 168 of file Internals.h.

References clang::MigratorOptions::NoFinalizeRemoval.

Member Data Documentation

◆ ARCMTMacroLocs

std::vector<SourceLocation>& clang::arcmt::MigrationPass::ARCMTMacroLocs

◆ CapturedDiags

const CapturedDiagList& clang::arcmt::MigrationPass::CapturedDiags

Definition at line 152 of file Internals.h.

◆ Ctx

ASTContext& clang::arcmt::MigrationPass::Ctx

◆ EnableCFBridgeFns

Optional<bool> clang::arcmt::MigrationPass::EnableCFBridgeFns

Definition at line 154 of file Internals.h.

◆ MigOptions

MigratorOptions clang::arcmt::MigrationPass::MigOptions

Definition at line 149 of file Internals.h.

◆ OrigGCMode

LangOptions::GCMode clang::arcmt::MigrationPass::OrigGCMode

Definition at line 148 of file Internals.h.

◆ SemaRef

Sema& clang::arcmt::MigrationPass::SemaRef

Definition at line 150 of file Internals.h.

Referenced by clang::arcmt::trans::getNilString().

◆ TA

TransformActions& clang::arcmt::MigrationPass::TA

The documentation for this class was generated from the following files: