Home
last modified time | relevance | path

Searched refs:ModuleScopes (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp127 ModuleScopes.back().Module = Mod; in HandleStartOfHeaderUnit()
250 ModuleScopes.empty() in ActOnModuleDecl()
366 ModuleScopes.push_back({}); in ActOnModuleDecl()
468 ModuleScopes.push_back({}); in ActOnPrivateModuleFragmentDecl()
602 if (!ModuleScopes.empty()) in ActOnModuleImport()
650 if (!ModuleScopes.empty()) in BuildModuleInclude()
670 ModuleScopes.push_back({}); in ActOnModuleBegin()
699 assert(!ModuleScopes.empty() && ModuleScopes.back().Module == Mod && in ActOnModuleEnd()
701 ModuleScopes.pop_back(); in ActOnModuleEnd()
940 ModuleScopes.pop_back(); in PopGlobalModuleFragment()
[all …]
H A DSema.cpp1125 !ModuleScopes.empty() && ModuleScopes.back().Module->Kind == in ActOnEndOfTranslationUnit()
1211 if (!ModuleScopes.empty() && ModuleScopes.back().Module->Kind == in ActOnEndOfTranslationUnit()
1213 Diag(ModuleScopes.back().BeginLoc, in ActOnEndOfTranslationUnit()
1297 ModuleScopes.back().Module->Kind == Module::PrivateModuleFragment) { in ActOnEndOfTranslationUnit()
1298 Diag(ModuleScopes.back().BeginLoc, in ActOnEndOfTranslationUnit()
H A DSemaDecl.cpp14652 if (Context.DeclMustBeEmitted(var) && !ModuleScopes.empty()) in CheckCompleteVariableDeclaration()
14653 Context.addModuleInitializer(ModuleScopes.back().Module, var); in CheckCompleteVariableDeclaration()
14664 if (Context.DeclMustBeEmitted(var) && !ModuleScopes.empty()) in CheckCompleteVariableDeclaration()
14665 Context.addModuleInitializer(ModuleScopes.back().Module, var); in CheckCompleteVariableDeclaration()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h2327 llvm::SmallVector<ModuleScope, 16> ModuleScopes; variable
2376 return ModuleScopes.empty() ? nullptr : ModuleScopes.back().Module; in getCurrentModule()
2381 return ModuleScopes.empty() in currentModuleIsImplementation()
2383 : ModuleScopes.back().Module->isModuleImplementation(); in currentModuleIsImplementation()
2388 return ModuleScopes.empty() ? false in currentModuleIsHeaderUnit()
2389 : ModuleScopes.back().Module->isHeaderUnit(); in currentModuleIsHeaderUnit()