clang 20.0.0git
|
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/ARCMigrate/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 |
std::optional< bool > | EnableCFBridgeFns |
Definition at line 146 of file Internals.h.
|
inline |
Definition at line 157 of file Internals.h.
bool MigrationPass::CFBridgingFunctionsDefined | ( | ) |
Definition at line 28 of file Transforms.cpp.
|
inline |
Definition at line 163 of file Internals.h.
References CapturedDiags.
|
inline |
Definition at line 165 of file Internals.h.
References clang::LangOptionsBase::NonGC, and OrigGCMode.
Referenced by traverseAST().
|
inline |
Definition at line 166 of file Internals.h.
References MigOptions, and clang::MigratorOptions::NoFinalizeRemoval.
|
inline |
Definition at line 167 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 154 of file Internals.h.
Referenced by cleanupDeallocOrFinalize(), and clang::arcmt::trans::removeEmptyStatementsAndDeallocFinalize().
const CapturedDiagList& clang::arcmt::MigrationPass::CapturedDiags |
Definition at line 153 of file Internals.h.
Referenced by getDiags().
ASTContext& clang::arcmt::MigrationPass::Ctx |
Definition at line 148 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().
std::optional<bool> clang::arcmt::MigrationPass::EnableCFBridgeFns |
Definition at line 155 of file Internals.h.
MigratorOptions clang::arcmt::MigrationPass::MigOptions |
Definition at line 150 of file Internals.h.
Referenced by noFinalizeRemoval(), and setNoFinalizeRemoval().
LangOptions::GCMode clang::arcmt::MigrationPass::OrigGCMode |
Definition at line 149 of file Internals.h.
Referenced by isGCMigration().
Sema& clang::arcmt::MigrationPass::SemaRef |
Definition at line 151 of file Internals.h.
Referenced by clang::arcmt::trans::getNilString().
TransformActions& clang::arcmt::MigrationPass::TA |
Definition at line 152 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().