reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/Frontend/ASTUnit.h
  439   const ASTContext &getASTContext() const { return *Ctx; }
  440   ASTContext &getASTContext() { return *Ctx; }
  442   void setASTContext(ASTContext *ctx) { Ctx = ctx; }
tools/clang/lib/Frontend/ASTUnit.cpp
  279   assert(getDiagnostics().getClient() && Ctx &&
  281   getDiagnostics().getClient()->BeginSourceFile(Ctx->getLangOpts(), PP.get());
  394           R.Declaration, Ctx->getLangOpts(), IsNestedNameSpecifier);
  401       QualType UsageType = getDeclUsageType(*Ctx, R.Declaration);
  407           = Ctx->getCanonicalType(UsageType.getUnqualifiedType());
  811     AST->Ctx = new ASTContext(*AST->LangOpts, AST->getSourceManager(),
  819       PP, *AST->ModuleCache, AST->Ctx.get(), PCHContainerRdr, {},
  824       *AST->PP, AST->Ctx.get(), *AST->HSOpts, *AST->PPOpts, *AST->LangOpts,
  832   if (AST->Ctx)
  833     AST->Ctx->setExternalSource(AST->Reader);
  860     AST->TheSema.reset(new Sema(PP, *AST->Ctx, *AST->Consumer));
 1453     Ctx = &CI.getASTContext();
 1596   AST->Ctx = nullptr;
 1888   Ctx.reset();
 2458     assert(Ctx->getExternalSource() && "No external source!");
 2459     return Ctx->getExternalSource()->FindFileRegionDecls(File, Offset, Length,