Searched refs:ModuleOwnershipKind (Results 1 – 7 of 7) sorted by relevance
219 enum class ModuleOwnershipKind : unsigned { enum245 llvm::PointerIntPair<Decl *, 2, ModuleOwnershipKind> NextInContextAndBits;359 static ModuleOwnershipKind getModuleOwnershipKindForChildOf(DeclContext *DC) { in getModuleOwnershipKindForChildOf()363 if (MOK != ModuleOwnershipKind::Unowned && in getModuleOwnershipKindForChildOf()369 return ModuleOwnershipKind::Unowned; in getModuleOwnershipKindForChildOf()613 return getModuleOwnershipKind() == ModuleOwnershipKind::ModulePrivate; in isModulePrivate()629 if (getModuleOwnershipKind() == ModuleOwnershipKind::Unowned) in setModulePrivate()631 setModuleOwnershipKind(ModuleOwnershipKind::ModulePrivate); in setModulePrivate()769 return getModuleOwnershipKind() != ModuleOwnershipKind::Unowned; in hasOwningModule()790 return (int)getModuleOwnershipKind() <= (int)ModuleOwnershipKind::Visible; in isUnconditionallyVisible()[all …]
83 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::Visible); in ActOnGlobalModuleFragmentDecl()238 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ModulePrivate); in ActOnModuleDecl()300 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ModulePrivate); in ActOnPrivateModuleFragmentDecl()455 ? Decl::ModuleOwnershipKind::VisibleWhenImported in ActOnModuleBegin()456 : Decl::ModuleOwnershipKind::Visible); in ActOnModuleBegin()497 Decl::ModuleOwnershipKind::Unowned); in ActOnModuleEnd()579 D->setModuleOwnershipKind(Decl::ModuleOwnershipKind::VisibleWhenImported); in ActOnStartExportDecl()
11010 Dcl->setModuleOwnershipKind(Decl::ModuleOwnershipKind::VisibleWhenImported); in ActOnFinishNamespaceDef()
581 case Decl::ModuleOwnershipKind::Unowned: in isExportedFromModuleInterfaceUnit()582 case Decl::ModuleOwnershipKind::ModulePrivate: in isExportedFromModuleInterfaceUnit()584 case Decl::ModuleOwnershipKind::Visible: in isExportedFromModuleInterfaceUnit()585 case Decl::ModuleOwnershipKind::VisibleWhenImported: in isExportedFromModuleInterfaceUnit()
350 (getModuleOwnershipKind() != ModuleOwnershipKind::VisibleWhenImported || in setLexicalDeclContext()
611 ModulePrivate ? Decl::ModuleOwnershipKind::ModulePrivate in VisitDecl()612 : Decl::ModuleOwnershipKind::VisibleWhenImported); in VisitDecl()629 D->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ModulePrivate); in VisitDecl()
349 member->setModuleOwnershipKind(clang::Decl::ModuleOwnershipKind::Visible); in SetMemberOwningModule()1245 decl->setModuleOwnershipKind(clang::Decl::ModuleOwnershipKind::Visible); in SetOwningModule()