Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp58 Sema::ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc) { in ActOnGlobalModuleFragmentDecl() argument
65 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnGlobalModuleFragmentDecl()
77 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnGlobalModuleFragmentDecl()
79 VisibleModules.setVisible(GlobalModule, ModuleLoc); in ActOnGlobalModuleFragmentDecl()
111 << FixItHint::CreateInsertion(ModuleLoc, "export "); in ActOnModuleDecl()
120 Diag(ModuleLoc, diag::err_module_decl_in_header_module); in ActOnModuleDecl()
132 Diag(ModuleLoc, diag::err_module_redeclaration); in ActOnModuleDecl()
147 Diag(ModuleLoc, diag::err_module_decl_not_at_start); in ActOnModuleDecl()
232 VisibleModules.setVisible(Mod, ModuleLoc); in ActOnModuleDecl()
246 Sema::ActOnPrivateModuleFragmentDecl(SourceLocation ModuleLoc, in ActOnPrivateModuleFragmentDecl() argument
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp2304 SourceLocation ModuleLoc = ConsumeToken(); in ParseModuleDecl() local
2322 return Actions.ActOnGlobalModuleFragmentDecl(ModuleLoc); in ParseModuleDecl()
2336 return Actions.ActOnPrivateModuleFragmentDecl(ModuleLoc, PrivateLoc); in ParseModuleDecl()
2340 if (ParseModuleName(ModuleLoc, Path, /*IsImport*/false)) in ParseModuleDecl()
2347 if (ParseModuleName(ModuleLoc, Partition, /*IsImport*/false)) in ParseModuleDecl()
2363 return Actions.ActOnModuleDecl(StartLoc, ModuleLoc, MDK, Path, IsFirstDecl); in ParseModuleDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h2897 SourceLocation ModuleLoc, ModuleDeclKind MDK,
2903 DeclGroupPtrTy ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc);
2909 DeclGroupPtrTy ActOnPrivateModuleFragmentDecl(SourceLocation ModuleLoc,