Searched refs:ModuleLoc (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaModule.cpp | 75 Sema::ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc) { in ActOnGlobalModuleFragmentDecl() argument 82 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnGlobalModuleFragmentDecl() 89 PushGlobalModuleFragment(ModuleLoc, /*IsImplicit=*/false); in ActOnGlobalModuleFragmentDecl() 190 << FixItHint::CreateInsertion(ModuleLoc, "export "); in ActOnModuleDecl() 200 Diag(ModuleLoc, diag::err_module_decl_in_header_module); in ActOnModuleDecl() 212 Diag(ModuleLoc, diag::err_module_redeclaration); in ActOnModuleDecl() 231 Diag(ModuleLoc, diag::err_module_decl_not_at_start); in ActOnModuleDecl() 332 VisibleModules.setVisible(Mod, ModuleLoc); in ActOnModuleDecl() 362 Sema::ActOnPrivateModuleFragmentDecl(SourceLocation ModuleLoc, in ActOnPrivateModuleFragmentDecl() argument 410 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnPrivateModuleFragmentDecl() [all …]
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | Parser.cpp | 2357 SourceLocation ModuleLoc = ConsumeToken(); in ParseModuleDecl() local 2376 return Actions.ActOnGlobalModuleFragmentDecl(ModuleLoc); in ParseModuleDecl() 2391 return Actions.ActOnPrivateModuleFragmentDecl(ModuleLoc, PrivateLoc); in ParseModuleDecl() 2395 if (ParseModuleName(ModuleLoc, Path, /*IsImport*/ false)) in ParseModuleDecl() 2406 else if (ParseModuleName(ModuleLoc, Partition, /*IsImport*/ false)) in ParseModuleDecl() 2419 return Actions.ActOnModuleDecl(StartLoc, ModuleLoc, MDK, Path, Partition, in ParseModuleDecl()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 3097 SourceLocation ModuleLoc, ModuleDeclKind MDK, 3104 DeclGroupPtrTy ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc); 3110 DeclGroupPtrTy ActOnPrivateModuleFragmentDecl(SourceLocation ModuleLoc,
|