Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Sema/
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 …]
/external/llvm-project/clang/lib/Parse/
DParser.cpp2291 SourceLocation ModuleLoc = ConsumeToken(); in ParseModuleDecl() local
2309 return Actions.ActOnGlobalModuleFragmentDecl(ModuleLoc); in ParseModuleDecl()
2323 return Actions.ActOnPrivateModuleFragmentDecl(ModuleLoc, PrivateLoc); in ParseModuleDecl()
2327 if (ParseModuleName(ModuleLoc, Path, /*IsImport*/false)) in ParseModuleDecl()
2334 if (ParseModuleName(ModuleLoc, Partition, /*IsImport*/false)) in ParseModuleDecl()
2350 return Actions.ActOnModuleDecl(StartLoc, ModuleLoc, MDK, Path, IsFirstDecl); in ParseModuleDecl()
/external/llvm-project/clang/include/clang/Sema/
DSema.h2728 SourceLocation ModuleLoc, ModuleDeclKind MDK,
2734 DeclGroupPtrTy ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc);
2740 DeclGroupPtrTy ActOnPrivateModuleFragmentDecl(SourceLocation ModuleLoc,