Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp168 Sema::ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc) { in ActOnGlobalModuleFragmentDecl() argument
171 PushGlobalModuleFragment(ModuleLoc); in ActOnGlobalModuleFragmentDecl()
264 Sema::ActOnModuleDecl(SourceLocation StartLoc, SourceLocation ModuleLoc, in ActOnModuleDecl() argument
306 Diag(ModuleLoc, diag::err_module_interface_implementation_mismatch) in ActOnModuleDecl()
307 << FixItHint::CreateInsertion(ModuleLoc, "export "); in ActOnModuleDecl()
312 Diag(ModuleLoc, diag::err_module_decl_in_module_map_module); in ActOnModuleDecl()
316 Diag(ModuleLoc, diag::err_module_decl_in_header_unit); in ActOnModuleDecl()
327 Diag(ModuleLoc, diag::err_module_redeclaration); in ActOnModuleDecl()
341 Diag(ModuleLoc, diag::err_module_decl_not_at_start); in ActOnModuleDecl()
412 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName); in ActOnModuleDecl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp2355 SourceLocation ModuleLoc = ConsumeToken(); in ParseModuleDecl() local
2375 return Actions.ActOnGlobalModuleFragmentDecl(ModuleLoc); in ParseModuleDecl()
2392 return Actions.ActOnPrivateModuleFragmentDecl(ModuleLoc, PrivateLoc); in ParseModuleDecl()
2396 if (ParseModuleName(ModuleLoc, Path, /*IsImport*/ false)) in ParseModuleDecl()
2407 else if (ParseModuleName(ModuleLoc, Partition, /*IsImport*/ false)) in ParseModuleDecl()
2421 return Actions.ActOnModuleDecl(StartLoc, ModuleLoc, MDK, Path, Partition, in ParseModuleDecl()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DModuleMapFile.cpp278 SourceLocation ModuleLoc = consumeToken(); in parseModuleDecl() local
280 MDecl.Location = ModuleLoc; // 'module' keyword in parseModuleDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h9836 SourceLocation ModuleLoc, ModuleDeclKind MDK,
9844 DeclGroupPtrTy ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc);
9850 DeclGroupPtrTy ActOnPrivateModuleFragmentDecl(SourceLocation ModuleLoc,