Searched refs:MigrateCtx (Results 1 - 5 of 5) sorted by relevance

/external/clang/lib/ARCMigrate/
H A DTransGCCalls.cpp23 MigrationContext &MigrateCtx; member in class:__anon3456::GCCollectableCallsChecker
29 : MigrateCtx(ctx) {
30 IdentifierTable &Ids = MigrateCtx.Pass.Ctx.Idents;
38 TransformActions &TA = MigrateCtx.Pass.TA;
40 if (MigrateCtx.isGCOwnedNonObjC(E->getType())) {
41 if (MigrateCtx.Pass.noNSAllocReallocError())
H A DTransGCAttrs.cpp28 MigrationContext &MigrateCtx; member in class:__anon3455::GCAttrsCollector
36 : MigrateCtx(ctx), FullyMigratable(false),
90 if (MigrateCtx.AttrSet.count(RawLoc))
93 ASTContext &Ctx = MigrateCtx.Pass.Ctx;
112 MigrateCtx.AttrSet.insert(RawLoc);
113 MigrateCtx.GCAttrs.push_back(MigrationContext::GCAttrOccurrence());
114 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs.back();
180 SourceManager &SM = MigrateCtx.Pass.Ctx.getSourceManager();
187 static void errorForGCAttrsOnNonObjC(MigrationContext &MigrateCtx) { argument
188 TransformActions &TA = MigrateCtx
203 checkWeakGCAttrs(MigrationContext &MigrateCtx) argument
227 checkAllAtProps(MigrationContext &MigrateCtx, SourceLocation AtLoc, IndivPropsTy &IndProps) argument
303 checkAllProps(MigrationContext &MigrateCtx, std::vector<ObjCPropertyDecl *> &AllProps) argument
329 traverseTU(MigrationContext &MigrateCtx) argument
[all...]
H A DTransforms.h47 MigrationContext &MigrateCtx; member in class:clang::arcmt::trans::BodyContext
52 BodyContext(MigrationContext &MigrateCtx, Stmt *S) argument
53 : MigrateCtx(MigrateCtx), PMap(S), TopStmt(S) {}
55 MigrationContext &getMigrationContext() { return MigrateCtx; }
61 MigrationContext &MigrateCtx; member in class:clang::arcmt::trans::ObjCImplementationContext
65 ObjCImplementationContext(MigrationContext &MigrateCtx, argument
67 : MigrateCtx(MigrateCtx), ImpD(D) {}
69 MigrationContext &getMigrationContext() { return MigrateCtx; }
76 traverseTU(MigrationContext &MigrateCtx) argument
[all...]
H A DTransforms.cpp313 MigrationContext &MigrateCtx; member in class:__anon3464::ASTTransform
317 ASTTransform(MigrationContext &MigrateCtx) : MigrateCtx(MigrateCtx) { } argument
322 ObjCImplementationContext ImplCtx(MigrateCtx, D);
324 I = MigrateCtx.traversers_begin(),
325 E = MigrateCtx.traversers_end(); I != E; ++I)
335 BodyContext BodyCtx(MigrateCtx, rootS);
337 I = MigrateCtx.traversers_begin(),
338 E = MigrateCtx
[all...]
H A DTransProperties.cpp47 MigrationContext &MigrateCtx; member in class:__anon3457::PropertiesRewriter
73 explicit PropertiesRewriter(MigrationContext &MigrateCtx) argument
74 : MigrateCtx(MigrateCtx), Pass(MigrateCtx.Pass) { }
171 MigrateCtx.rewritePropertyAttribute("retain", toAttr, atLoc);
289 return MigrateCtx.removePropertyAttribute(fromAttr, atLoc);
294 return MigrateCtx.rewritePropertyAttribute(fromAttr, toAttr, atLoc);
298 return MigrateCtx.addPropertyAttribute(attr, atLoc);
362 return MigrateCtx
[all...]

Completed in 51 milliseconds