clang API Documentation
#include <Internals.h>
Public Member Functions | |
MigrationPass (ASTContext &Ctx, LangOptions::GCMode OrigGCMode, Sema &sema, TransformActions &TA, const CapturedDiagList &capturedDiags, std::vector< SourceLocation > &ARCMTMacroLocs) | |
const CapturedDiagList & | getDiags () const |
bool | isGCMigration () const |
bool | noFinalizeRemoval () const |
void | setNoFinalizeRemoval (bool val) |
bool | CFBridgingFunctionsDefined () |
Public Attributes | |
ASTContext & | Ctx |
LangOptions::GCMode | OrigGCMode |
MigratorOptions | MigOptions |
Sema & | SemaRef |
TransformActions & | TA |
const CapturedDiagList & | CapturedDiags |
std::vector< SourceLocation > & | ARCMTMacroLocs |
Optional< bool > | EnableCFBridgeFns |
Definition at line 145 of file Internals.h.
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.
Definition at line 31 of file Transforms.cpp.
const CapturedDiagList& clang::arcmt::MigrationPass::getDiags | ( | ) | const [inline] |
Definition at line 164 of file Internals.h.
References CapturedDiags.
bool clang::arcmt::MigrationPass::isGCMigration | ( | ) | const [inline] |
Definition at line 166 of file Internals.h.
References clang::LangOptions::NonGC, and OrigGCMode.
Referenced by traverseAST().
bool clang::arcmt::MigrationPass::noFinalizeRemoval | ( | ) | const [inline] |
Definition at line 167 of file Internals.h.
References MigOptions, and clang::MigratorOptions::NoFinalizeRemoval.
void clang::arcmt::MigrationPass::setNoFinalizeRemoval | ( | bool | val | ) | [inline] |
Definition at line 168 of file Internals.h.
References MigOptions, and clang::MigratorOptions::NoFinalizeRemoval.
Referenced by clang::arcmt::checkForManualIssues().
std::vector<SourceLocation>& clang::arcmt::MigrationPass::ARCMTMacroLocs |
Definition at line 153 of file Internals.h.
Referenced by cleanupDeallocOrFinalize(), and clang::arcmt::trans::removeEmptyStatementsAndDeallocFinalize().
Definition at line 152 of file Internals.h.
Referenced by getDiags().
Definition at line 147 of file Internals.h.
Referenced by clang::arcmt::trans::MigrationContext::addPropertyAttribute(), checkAllAtProps(), clang::arcmt::trans::checkAPIUses(), checkWeakGCAttrs(), cleanupDeallocOrFinalize(), clang::arcmt::trans::MigrationContext::dumpGCAttrs(), GCRewriteFinalize(), clang::arcmt::trans::MigrationContext::isGCOwnedNonObjC(), clang::arcmt::trans::makeAssignARCSafe(), clang::arcmt::trans::removeEmptyStatementsAndDeallocFinalize(), clang::arcmt::trans::removeRetainReleaseDeallocFinalize(), clang::arcmt::trans::removeZeroOutPropsInDeallocFinalize(), clang::arcmt::trans::rewriteAutoreleasePool(), clang::arcmt::trans::MigrationContext::rewritePropertyAttribute(), clang::arcmt::trans::rewriteUnbridgedCasts(), clang::arcmt::trans::rewriteUnusedInitDelegate(), traverseAST(), clang::arcmt::trans::BlockObjCVariableTraverser::traverseBody(), and clang::arcmt::trans::GCAttrsTraverser::traverseTU().
Definition at line 154 of file Internals.h.
Definition at line 149 of file Internals.h.
Referenced by noFinalizeRemoval(), and setNoFinalizeRemoval().
Definition at line 148 of file Internals.h.
Referenced by isGCMigration().
Definition at line 150 of file Internals.h.
Definition at line 151 of file Internals.h.
Referenced by clang::arcmt::trans::MigrationContext::addPropertyAttribute(), checkAllAtProps(), checkWeakGCAttrs(), cleanupDeallocOrFinalize(), errorForGCAttrsOnNonObjC(), GCRewriteFinalize(), clang::arcmt::trans::removeEmptyStatementsAndDeallocFinalize(), clang::arcmt::trans::MigrationContext::rewritePropertyAttribute(), and clang::arcmt::trans::BlockObjCVariableTraverser::traverseBody().