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

References

tools/clang/unittests/AST/ASTImporterFixtures.cpp
  117   if (ToAST)
  123   ToAST = tooling::buildASTFromCodeWithArgs(ToCode, ToArgs, FileName);
  124   ToAST->enableSourceFileDiagnostics();
  125   lazyInitSharedState(ToAST->getASTContext().getTranslationUnitDecl());
  150   assert(!ToAST);
  166       FromTU.import(SharedStatePtr, ToAST.get(), FoundDecls.front());
  189   assert(!ToAST);
  191   return ToAST->getASTContext().getTranslationUnitDecl();
  198   Decl *To = FromTU->import(SharedStatePtr, ToAST.get(), From);
  208       FromTU->importOrError(SharedStatePtr, ToAST.get(), From);
  217   return FromTU->import(SharedStatePtr, ToAST.get(), FromType);
  230   if (ToAST) {
  232     ToAST->getASTContext().getTranslationUnitDecl()->dump();
tools/clang/unittests/AST/ASTImporterGenericRedeclTest.cpp
  379     Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
tools/clang/unittests/AST/ASTImporterTest.cpp
 1760   SourceManager &ToSM = ToAST->getASTContext().getSourceManager();
 1781   SourceManager &ToSM = ToAST->getASTContext().getSourceManager();
 1874   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 1907   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2124   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2162   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2194   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2254   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2345   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2414   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2531   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2549   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2567   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2585   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2608   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2637   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2667   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2695   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2741   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2785   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2826   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2866   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 3245   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 3829   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 4067   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 4090   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 4114   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 4147     auto *TU = ToAST->getASTContext().getTranslationUnitDecl();
 4176   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 4216     auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 4822   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 4922   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 4953   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 5572   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 5596   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();