Home | History | Annotate | Download | only in arcmt-test

Lines Matching defs:Ctx

72 static void printSourceLocation(SourceLocation loc, ASTContext &Ctx,
74 static void printSourceRange(CharSourceRange range, ASTContext &Ctx,
80 ASTContext *Ctx;
85 : Ctx(nullptr), OS(OS) {}
87 void start(ASTContext &ctx) override { Ctx = &ctx; }
88 void finish() override { Ctx = nullptr; }
91 assert(Ctx);
93 printSourceLocation(loc, *Ctx, OS);
98 assert(Ctx);
100 printSourceRange(range, *Ctx, OS);
307 static void printSourceLocation(SourceLocation loc, ASTContext &Ctx,
309 SourceManager &SM = Ctx.getSourceManager();
317 static void printSourceRange(CharSourceRange range, ASTContext &Ctx,
319 SourceManager &SM = Ctx.getSourceManager();
320 const LangOptions &langOpts = Ctx.getLangOpts();