clang API Documentation
#include <Internals.h>

Public Member Functions | |
| MigrationPass (ASTContext &Ctx, LangOptions::GCMode OrigGCMode, Sema &sema, TransformActions &TA, std::vector< SourceLocation > &ARCMTMacroLocs) | |
| bool | isGCMigration () const |
| bool | noNSAllocReallocError () const |
| void | setNSAllocReallocError (bool val) |
| bool | noFinalizeRemoval () const |
| void | setNoFinalizeRemoval (bool val) |
Public Attributes | |
| ASTContext & | Ctx |
| LangOptions::GCMode | OrigGCMode |
| MigratorOptions | MigOptions |
| Sema & | SemaRef |
| TransformActions & | TA |
| std::vector< SourceLocation > & | ARCMTMacroLocs |
Definition at line 139 of file Internals.h.
| clang::arcmt::MigrationPass::MigrationPass | ( | ASTContext & | Ctx, |
| LangOptions::GCMode | OrigGCMode, | ||
| Sema & | sema, | ||
| TransformActions & | TA, | ||
| std::vector< SourceLocation > & | ARCMTMacroLocs | ||
| ) | [inline] |
Definition at line 148 of file Internals.h.
| bool clang::arcmt::MigrationPass::isGCMigration | ( | ) | const [inline] |
Definition at line 155 of file Internals.h.
References clang::LangOptions::NonGC, and OrigGCMode.
Referenced by traverseAST().
| bool clang::arcmt::MigrationPass::noFinalizeRemoval | ( | ) | const [inline] |
Definition at line 158 of file Internals.h.
References MigOptions, and clang::MigratorOptions::NoFinalizeRemoval.
| bool clang::arcmt::MigrationPass::noNSAllocReallocError | ( | ) | const [inline] |
Definition at line 156 of file Internals.h.
References MigOptions, and clang::MigratorOptions::NoNSAllocReallocError.
| void clang::arcmt::MigrationPass::setNoFinalizeRemoval | ( | bool | val | ) | [inline] |
Definition at line 159 of file Internals.h.
References MigOptions, and clang::MigratorOptions::NoFinalizeRemoval.
| void clang::arcmt::MigrationPass::setNSAllocReallocError | ( | bool | val | ) | [inline] |
Definition at line 157 of file Internals.h.
References MigOptions, and clang::MigratorOptions::NoNSAllocReallocError.
Referenced by clang::arcmt::checkForManualIssues().
| std::vector<SourceLocation>& clang::arcmt::MigrationPass::ARCMTMacroLocs |
Definition at line 146 of file Internals.h.
Referenced by cleanupDeallocOrFinalize(), and clang::arcmt::trans::removeEmptyStatementsAndDeallocFinalize().
Definition at line 141 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 143 of file Internals.h.
Referenced by noFinalizeRemoval(), noNSAllocReallocError(), setNoFinalizeRemoval(), and setNSAllocReallocError().
Definition at line 142 of file Internals.h.
Referenced by isGCMigration().
Definition at line 144 of file Internals.h.
Definition at line 145 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().