Home
last modified time | relevance | path

Searched refs:ModuleLoc (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp77 Sema::ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc) { in ActOnGlobalModuleFragmentDecl() argument
80 PushGlobalModuleFragment(ModuleLoc); in ActOnGlobalModuleFragmentDecl()
215 << FixItHint::CreateInsertion(ModuleLoc, "export "); in ActOnModuleDecl()
224 Diag(ModuleLoc, diag::err_module_decl_in_header_unit); in ActOnModuleDecl()
235 Diag(ModuleLoc, diag::err_module_redeclaration); in ActOnModuleDecl()
248 Diag(ModuleLoc, diag::err_module_decl_not_at_start); in ActOnModuleDecl()
377 VisibleModules.setVisible(Mod, ModuleLoc); in ActOnModuleDecl()
399 VisibleModules.setVisible(Interface, ModuleLoc); in ActOnModuleDecl()
422 Sema::ActOnPrivateModuleFragmentDecl(SourceLocation ModuleLoc, in ActOnPrivateModuleFragmentDecl() argument
469 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnPrivateModuleFragmentDecl()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp2450 SourceLocation ModuleLoc = ConsumeToken(); in ParseModuleDecl() local
2469 return Actions.ActOnGlobalModuleFragmentDecl(ModuleLoc); in ParseModuleDecl()
2486 return Actions.ActOnPrivateModuleFragmentDecl(ModuleLoc, PrivateLoc); in ParseModuleDecl()
2490 if (ParseModuleName(ModuleLoc, Path, /*IsImport*/ false)) in ParseModuleDecl()
2501 else if (ParseModuleName(ModuleLoc, Partition, /*IsImport*/ false)) in ParseModuleDecl()
2515 return Actions.ActOnModuleDecl(StartLoc, ModuleLoc, MDK, Path, Partition, in ParseModuleDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3233 SourceLocation ModuleLoc, ModuleDeclKind MDK,
3240 DeclGroupPtrTy ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc);
3246 DeclGroupPtrTy ActOnPrivateModuleFragmentDecl(SourceLocation ModuleLoc,