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

Declarations

tools/clang/include/clang/AST/DeclBase.h
  457   TranslationUnitDecl *getTranslationUnitDecl();

References

tools/clang/include/clang/AST/DeclBase.h
  459     return const_cast<Decl*>(this)->getTranslationUnitDecl();
tools/clang/lib/AST/ASTImporter.cpp
  939   if (Importer.GetFromTU(Found) != From->getTranslationUnitDecl())
  952     return Importer.GetFromTU(Found) == From->getTranslationUnitDecl();
 7929   return FromDPos->second->getTranslationUnitDecl();
tools/clang/unittests/AST/ASTImporterFixtures.cpp
  133     return E.TUDecl == From->getTranslationUnitDecl();
tools/clang/unittests/AST/ASTImporterGenericRedeclTest.cpp
  144         auto *ToTU = Prev->getTranslationUnitDecl();
  164     Decl *ToTU = ImportedD->getTranslationUnitDecl();
  181     Decl *ToTU = ImportedD->getTranslationUnitDecl();
  200     Decl *ToTU = Imported0->getTranslationUnitDecl();
  222     Decl *ToTU = ImportedProto->getTranslationUnitDecl();
  244     Decl *ToTU = ImportedDef->getTranslationUnitDecl();
  267     Decl *ToTU = Imported0->getTranslationUnitDecl();
  290     Decl *ToTU = Imported0->getTranslationUnitDecl();
  313     Decl *ToTU = ImportedDef->getTranslationUnitDecl();
  338     Decl *ToTU = ImportedDef->getTranslationUnitDecl();
  359     Decl *ToTU = ImportedD->getTranslationUnitDecl();
tools/clang/unittests/AST/ASTImporterTest.cpp
  338   auto *ToTU = Imported->getTranslationUnitDecl();
  355   auto *ToTU = To->getTranslationUnitDecl();
 1208   auto ToTU = ToTemplated->getTranslationUnitDecl();
 1224   auto ToTU = ToTemplated->getTranslationUnitDecl();
 1321     auto TU = D->getTranslationUnitDecl();
 1347     auto TU = D->getTranslationUnitDecl();
 1375     auto TU = D->getTranslationUnitDecl();
 1408       MatchVerifier<Decl>{}.match(From->getTranslationUnitDecl(), Pattern));
 1410       MatchVerifier<Decl>{}.match(To->getTranslationUnitDecl(), Pattern));
 1417       MatchVerifier<Decl>{}.match(From->getTranslationUnitDecl(), Pattern));
 1419       MatchVerifier<Decl>{}.match(To->getTranslationUnitDecl(), Pattern));
 1574       MatchVerifier<Decl>{}.match(From->getTranslationUnitDecl(), Pattern));
 1576       MatchVerifier<Decl>{}.match(To->getTranslationUnitDecl(), Pattern));
 1618       MatchVerifier<Decl>{}.match(From->getTranslationUnitDecl(), Pattern));
 1620       MatchVerifier<Decl>{}.match(To->getTranslationUnitDecl(), Pattern));
 2015   Decl *ToTU = ImportedD->getTranslationUnitDecl();
 2033   Decl *ToTU = ImportedD->getTranslationUnitDecl();
 3709   Decl *ToTU = ImportedDef->getTranslationUnitDecl();
tools/clang/unittests/AST/ASTImporterVisibilityTest.cpp
  267     EXPECT_EQ(0u, ToF0->getTranslationUnitDecl()
tools/lldb/source/Symbol/ClangASTImporter.cpp
  979                  static_cast<void *>(to->getTranslationUnitDecl()),
  986         to->getTranslationUnitDecl()->dump(ast_stream);