Home | History | Annotate | Download | only in ARCMigrate

Lines Matching defs:Ctx

43 bool trans::canApplyWeak(ASTContext &Ctx, QualType type,
45 if (!Ctx.getLangOpts().ObjCWeakRuntime)
53 if (Ctx.getTargetInfo().getTriple().isiOS() ||
54 Ctx.getTargetInfo().getTriple().isWatchOS())
124 ASTContext &Ctx, bool IsDecl) {
125 SourceLocation SemiLoc = findSemiAfterLocation(loc, Ctx, IsDecl);
136 ASTContext &Ctx,
138 SourceManager &SM = Ctx.getSourceManager();
140 if (!Lexer::isAtEndOfMacroExpansion(loc, SM, Ctx.getLangOpts(), &loc))
143 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts());
158 Ctx.getLangOpts(),
167 return findSemiAfterLocation(tok.getLocation(), Ctx, /*IsDecl*/true);
173 bool trans::hasSideEffects(Expr *E, ASTContext &Ctx) {
174 if (!E || !E->HasSideEffects(Ctx))
190 return hasSideEffects(ME->getInstanceReceiver(), Ctx);
372 T = Pass.Ctx.getBaseElementType(T);
390 SourceManager &SM = Pass.Ctx.getSourceManager();
405 Pass.Ctx.getLangOpts(),
471 SourceManager &SM = Pass.Ctx.getSourceManager();
486 Pass.Ctx.getLangOpts(),
523 ASTContext &Ctx = pass.Ctx;
525 DeclContext *DC = Ctx.getTranslationUnitDecl();
527 Ctx.Selectors.getNullarySelector(&pass.Ctx.Idents.get("finalize"));
543 const SourceManager &SM = pass.Ctx.getSourceManager();
544 const LangOptions &LangOpts = pass.Ctx
573 MigrateCtx.traverse(pass.Ctx.getTranslationUnitDecl());