Lines Matching refs:TU

169   auto *TU = Context.getTranslationUnitDecl();  in ActOnGlobalModuleFragmentDecl()  local
177 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ReachableWhenImported); in ActOnGlobalModuleFragmentDecl()
178 TU->setLocalOwningModule(GlobalModule); in ActOnGlobalModuleFragmentDecl()
218 auto *TU = Context.getTranslationUnitDecl(); in HandleStartOfHeaderUnit() local
219 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::Visible); in HandleStartOfHeaderUnit()
220 TU->setLocalOwningModule(Mod); in HandleStartOfHeaderUnit()
470 auto *TU = Context.getTranslationUnitDecl(); in ActOnModuleDecl() local
471 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ReachableWhenImported); in ActOnModuleDecl()
472 TU->setLocalOwningModule(Mod); in ActOnModuleDecl()
566 auto *TU = Context.getTranslationUnitDecl(); in ActOnPrivateModuleFragmentDecl() local
567 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ModulePrivate); in ActOnPrivateModuleFragmentDecl()
568 TU->setLocalOwningModule(PrivateModuleFragment); in ActOnPrivateModuleFragmentDecl()
740 TranslationUnitDecl *TU = getASTContext().getTranslationUnitDecl(); in BuildModuleInclude() local
741 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in BuildModuleInclude()
746 TU->addDecl(ImportD); in BuildModuleInclude()
833 TranslationUnitDecl *TU = getASTContext().getTranslationUnitDecl(); in createImplicitModuleImportForErrorRecovery() local
834 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in createImplicitModuleImportForErrorRecovery()
836 TU->addDecl(ImportD); in createImplicitModuleImportForErrorRecovery()