Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaModule.cpp58 Sema::ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc) { in ActOnGlobalModuleFragmentDecl() argument
65 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnGlobalModuleFragmentDecl()
72 auto *GlobalModule = Map.createGlobalModuleFragmentForModuleUnit(ModuleLoc); in ActOnGlobalModuleFragmentDecl()
77 ModuleScopes.back().BeginLoc = ModuleLoc; in ActOnGlobalModuleFragmentDecl()
79 VisibleModules.setVisible(GlobalModule, ModuleLoc); in ActOnGlobalModuleFragmentDecl()
91 Sema::ActOnModuleDecl(SourceLocation StartLoc, SourceLocation ModuleLoc, in ActOnModuleDecl() argument
110 Diag(ModuleLoc, diag::err_module_interface_implementation_mismatch) in ActOnModuleDecl()
111 << FixItHint::CreateInsertion(ModuleLoc, "export "); in ActOnModuleDecl()
116 Diag(ModuleLoc, diag::err_module_decl_in_module_map_module); in ActOnModuleDecl()
120 Diag(ModuleLoc, diag::err_module_decl_in_header_module); in ActOnModuleDecl()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParser.cpp2301 SourceLocation ModuleLoc = ConsumeToken(); in ParseModuleDecl() local
2319 return Actions.ActOnGlobalModuleFragmentDecl(ModuleLoc); in ParseModuleDecl()
2333 return Actions.ActOnPrivateModuleFragmentDecl(ModuleLoc, PrivateLoc); in ParseModuleDecl()
2337 if (ParseModuleName(ModuleLoc, Path, /*IsImport*/false)) in ParseModuleDecl()
2344 if (ParseModuleName(ModuleLoc, Partition, /*IsImport*/false)) in ParseModuleDecl()
2360 return Actions.ActOnModuleDecl(StartLoc, ModuleLoc, MDK, Path, IsFirstDecl); in ParseModuleDecl()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h2861 SourceLocation ModuleLoc, ModuleDeclKind MDK,
2867 DeclGroupPtrTy ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc);
2873 DeclGroupPtrTy ActOnPrivateModuleFragmentDecl(SourceLocation ModuleLoc,