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

/external/clang/lib/ARCMigrate/
H A DTransGCCalls.cpp23 MigrationContext &MigrateCtx; member in class:__anon17697::GCCollectableCallsChecker
29 : MigrateCtx(ctx) {
30 IdentifierTable &Ids = MigrateCtx.Pass.Ctx.Idents;
38 TransformActions &TA = MigrateCtx.Pass.TA;
40 if (MigrateCtx.isGCOwnedNonObjC(E->getType())) {
H A DTransGCAttrs.cpp28 MigrationContext &MigrateCtx; member in class:__anon17696::GCAttrsCollector
36 : MigrateCtx(ctx), FullyMigratable(false),
89 if (MigrateCtx.AttrSet.count(RawLoc))
92 ASTContext &Ctx = MigrateCtx.Pass.Ctx;
111 MigrateCtx.AttrSet.insert(RawLoc);
112 MigrateCtx.GCAttrs.push_back(MigrationContext::GCAttrOccurrence());
113 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs.back();
177 SourceManager &SM = MigrateCtx.Pass.Ctx.getSourceManager();
184 static void errorForGCAttrsOnNonObjC(MigrationContext &MigrateCtx) { argument
185 TransformActions &TA = MigrateCtx
200 checkWeakGCAttrs(MigrationContext &MigrateCtx) argument
224 checkAllAtProps(MigrationContext &MigrateCtx, SourceLocation AtLoc, IndivPropsTy &IndProps) argument
301 checkAllProps(MigrationContext &MigrateCtx, std::vector<ObjCPropertyDecl *> &AllProps) argument
327 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.cpp328 MigrationContext &MigrateCtx; member in class:__anon17707::ASTTransform
332 ASTTransform(MigrationContext &MigrateCtx) : MigrateCtx(MigrateCtx) { } argument
337 ObjCImplementationContext ImplCtx(MigrateCtx, D);
339 I = MigrateCtx.traversers_begin(),
340 E = MigrateCtx.traversers_end(); I != E; ++I)
350 BodyContext BodyCtx(MigrateCtx, rootS);
352 I = MigrateCtx.traversers_begin(),
353 E = MigrateCtx
[all...]
H A DTransProperties.cpp47 MigrationContext &MigrateCtx; member in class:__anon17698::PropertiesRewriter
74 explicit PropertiesRewriter(MigrationContext &MigrateCtx) argument
75 : MigrateCtx(MigrateCtx), Pass(MigrateCtx.Pass) { }
168 MigrateCtx.rewritePropertyAttribute("retain", toAttr, atLoc);
292 return MigrateCtx.removePropertyAttribute(fromAttr, atLoc);
297 return MigrateCtx.rewritePropertyAttribute(fromAttr, toAttr, atLoc);
301 return MigrateCtx.addPropertyAttribute(attr, atLoc);
357 return MigrateCtx
[all...]

Completed in 60 milliseconds