Home | History | Annotate | Download | only in Sema

Lines Matching refs:diag

43     S.Diag(ImportLoc, (FromInclude && S.isModuleVisible(M))
44 ? diag::ext_module_import_not_at_top_level_noop
45 : diag::err_module_import_not_at_top_level_fatal)
47 S.Diag(cast<Decl>(DC)->getBeginLoc(),
48 diag::note_module_import_not_at_top_level)
51 S.Diag(ImportLoc, diag::ext_module_import_in_extern_c)
53 S.Diag(ExternCLoc, diag::note_extern_c_begins_here);
110 Diag(ModuleLoc, diag::err_module_interface_implementation_mismatch)
116 Diag(ModuleLoc, diag::err_module_decl_in_module_map_module);
120 Diag(ModuleLoc, diag::err_module_decl_in_header_module);
132 Diag(ModuleLoc, diag::err_module_redeclaration);
133 Diag(VisibleModules.getImportLoc(ModuleScopes.back().Module),
134 diag::note_prev_module_declaration);
147 Diag(ModuleLoc, diag::err_module_decl_not_at_start);
153 Diag(BeginLoc, diag::note_global_module_introducer_missing)
172 Diag(Path.front().second, diag::err_current_module_name_mismatch)
187 Diag(Path[0].second, diag::err_module_redefinition) << ModuleName;
189 Diag(M->DefinitionLoc, diag::note_prev_module_definition);
191 Diag(M->DefinitionLoc, diag::note_prev_module_definition_from_ast_file)
211 Diag(ModuleLoc, diag::err_module_not_defined) << ModuleName;
255 Diag(PrivateLoc, diag::err_private_module_fragment_not_module);
259 Diag(PrivateLoc, diag::err_private_module_fragment_redefined);
260 Diag(ModuleScopes.back().BeginLoc, diag::note_previous_definition);
268 Diag(PrivateLoc, diag::err_private_module_fragment_not_module_interface);
269 Diag(ModuleScopes.back().BeginLoc,
270 diag::note_not_module_interface_add_export)
358 Diag(ImportLoc, getLangOpts().isCompilingModule()
359 ? diag::err_module_self_import
360 : diag::err_module_import_in_implementation)
398 Diag(ExportLoc, diag::err_export_not_in_module_interface);
535 Diag(ExportLoc, diag::err_export_not_in_module_interface) << 0;
537 Diag(ExportLoc, diag::err_export_not_in_module_interface) << 1;
538 Diag(ModuleScopes.back().BeginLoc,
539 diag::note_not_module_interface_add_export)
543 Diag(ExportLoc, diag::err_export_in_private_module_fragment);
544 Diag(ModuleScopes.back().BeginLoc, diag::note_private_module_fragment);
552 Diag(ExportLoc, diag::err_export_within_anonymous_namespace);
553 Diag(ND->getLocation(), diag::note_anonymous_namespace);
572 Diag(ExportLoc, diag::err_export_within_export);
574 Diag(ED->getLocation(), diag::note_export);
615 return InBlock ? diag::ext_export_no_name_block : diag::err_export_no_name;
619 return diag::ext_export_using_directive;
624 return diag::ext_export_no_names;
627 return diag::err_export_no_name;
634 S.Diag(D->getLocation(), getUnnamedDeclDiag(UDK, BlockStart.isValid()))
637 S.Diag(BlockStart, diag::note_export);
652 S.Diag(ND->getLocation(), diag::err_export_internal) << ND;
654 S.Diag(BlockStart, diag::note_export);
664 S.Diag(USD->getLocation(), diag::err_export_using_internal) << Target;
665 S.Diag(Target->getLocation(), diag::note_using_decl_target);
667 S.Diag(BlockStart, diag::note_export);