Lines Matching refs:Role
778 static Module::HeaderKind headerRoleToKind(ModuleMap::ModuleHeaderRole Role) { in headerRoleToKind() argument
779 switch ((int)Role) { in headerRoleToKind()
793 ModuleHeaderRole Role, bool Imported) { in addHeader() argument
794 KnownHeader KH(Mod, Role); in addHeader()
805 Mod->Headers[headerRoleToKind(Role)].push_back(std::move(Header)); in addHeader()
812 HeaderInfo.MarkFileModuleHeader(Header.Entry, Role, in addHeader()
1729 ModuleMap::ModuleHeaderRole Role = ModuleMap::NormalHeader; in parseHeaderDecl() local
1731 Role = ModuleMap::PrivateHeader; in parseHeaderDecl()
1740 Role = ModuleMap::ModuleHeaderRole(Role | ModuleMap::TextualHeader); in parseHeaderDecl()
1745 Role = ModuleMap::ModuleHeaderRole(Role | ModuleMap::TextualHeader); in parseHeaderDecl()
1867 Map.addHeader(ActiveModule, H, Role); in parseHeaderDecl()
1872 Map.addHeader(ActiveModule, H, Role); in parseHeaderDecl()