Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaModule.cpp76 Sema::ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc) { in ActOnGlobalModuleFragmentDecl() argument
83 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnGlobalModuleFragmentDecl()
90 PushGlobalModuleFragment(ModuleLoc, /*IsImplicit=*/false); in ActOnGlobalModuleFragmentDecl()
179 Sema::ActOnModuleDecl(SourceLocation StartLoc, SourceLocation ModuleLoc, in ActOnModuleDecl() argument
220 Diag(ModuleLoc, diag::err_module_interface_implementation_mismatch) in ActOnModuleDecl()
221 << FixItHint::CreateInsertion(ModuleLoc, "export "); in ActOnModuleDecl()
226 Diag(ModuleLoc, diag::err_module_decl_in_module_map_module); in ActOnModuleDecl()
230 Diag(ModuleLoc, diag::err_module_decl_in_header_unit); in ActOnModuleDecl()
241 Diag(ModuleLoc, diag::err_module_redeclaration); in ActOnModuleDecl()
254 Diag(ModuleLoc, diag::err_module_decl_not_at_start); in ActOnModuleDecl()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParser.cpp2401 SourceLocation ModuleLoc = ConsumeToken(); in ParseModuleDecl() local
2420 return Actions.ActOnGlobalModuleFragmentDecl(ModuleLoc); in ParseModuleDecl()
2437 return Actions.ActOnPrivateModuleFragmentDecl(ModuleLoc, PrivateLoc); in ParseModuleDecl()
2441 if (ParseModuleName(ModuleLoc, Path, /*IsImport*/ false)) in ParseModuleDecl()
2452 else if (ParseModuleName(ModuleLoc, Partition, /*IsImport*/ false)) in ParseModuleDecl()
2465 return Actions.ActOnModuleDecl(StartLoc, ModuleLoc, MDK, Path, Partition, in ParseModuleDecl()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h3170 SourceLocation ModuleLoc, ModuleDeclKind MDK,
3177 DeclGroupPtrTy ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc);
3183 DeclGroupPtrTy ActOnPrivateModuleFragmentDecl(SourceLocation ModuleLoc,