Home
last modified time | relevance | path

Searched refs:error_at (Results 1 – 25 of 112) sorted by relevance

12345

/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Ddecl.cc864 error_at (DECL_SOURCE_LOCATION (decl), in wrapup_namespace_globals()
1263 error_at (new_loc, msg, new_decl); in check_redeclaration_exception_specification()
1318 error_at (DECL_SOURCE_LOCATION (new_decl), in validate_constexpr_redeclaration()
1590 error_at (newdecl_loc, in duplicate_decls()
1678 error_at (newdecl_loc, in duplicate_decls()
1792 error_at (newdecl_loc, in duplicate_decls()
1796 error_at (newdecl_loc, in duplicate_decls()
1836 error_at (newdecl_loc, in duplicate_decls()
1858 error_at (newdecl_loc, in duplicate_decls()
1875 error_at (newdecl_loc, in duplicate_decls()
[all …]
Dsemantics.cc1526 error_at (cp_expr_loc_or_input_loc (orig_cond), in finish_switch_cond()
1929 error_at (loc, in finish_asm_stmt()
2840 error_at (EXPR_LOC_OR_LOC (fn, input_location), in finish_call_expr()
3037 error_at (loc, "invalid qualifying scope in pseudo-destructor name"); in finish_pseudo_destructor_expr()
3044 error_at (loc, in finish_pseudo_destructor_expr()
3067 error_at (loc, "%qE is not of type %qT", object, destructor); in finish_pseudo_destructor_expr()
5153 error_at (OMP_CLAUSE_LOCATION (c), in handle_omp_array_sections_1()
5163 error_at (OMP_CLAUSE_LOCATION (c), in handle_omp_array_sections_1()
5188 error_at (OMP_CLAUSE_LOCATION (c), in handle_omp_array_sections_1()
5192 error_at (OMP_CLAUSE_LOCATION (c), in handle_omp_array_sections_1()
[all …]
Dparser.cc1483 error_at (parser->omp_declare_simd->loc, in cp_finalize_omp_declare_simd()
1498 error_at (parser->oacc_routine->loc, in cp_ensure_no_oacc_routine()
3021 error_at (token->location, in cp_parser_error_1()
3035 error_at (loc, "version control conflict marker in file"); in cp_parser_error_1()
3151 error_at (location, "%<%E::%E%> has not been declared", in cp_parser_name_lookup_error()
3154 error_at (location, "%<::%E%> has not been declared", name); in cp_parser_name_lookup_error()
3157 error_at (location, "request for member %qE in non-class type %qT", in cp_parser_name_lookup_error()
3160 error_at (location, "%<%T::%E%> has not been declared", in cp_parser_name_lookup_error()
3163 error_at (location, "%qE has not been declared", name); in cp_parser_name_lookup_error()
3170 error_at (location, "%<%E::%E%> is not a type", in cp_parser_name_lookup_error()
[all …]
Dcvt.cc92 error_at (loc, "cannot convert from incomplete type %qH to %qI", in cp_convert_to_pointer()
102 error_at (loc, "conversion of %qE from %qH to %qI is ambiguous", in cp_convert_to_pointer()
174 error_at (loc, "cannot convert %qE from type %qH to type %qI", in cp_convert_to_pointer()
201 error_at (loc, "cannot convert %qE from type %qH to type %qI", in cp_convert_to_pointer()
227 error_at (loc, "invalid conversion from %qH to %qI", intype, type); in cp_convert_to_pointer()
255 error_at (loc, "cannot convert %qE from type %qH to type %qI", in cp_convert_to_pointer()
526 error_at (loc, "cannot convert type %qH to type %qI", intype, reftype); in convert_to_reference()
843 error_at (loc, "%q#T used where a %qT was expected", intype, type); in ocp_convert()
851 error_at (loc, in ocp_convert()
860 error_at (loc, "could not convert %qE from %qH to %qI", expr, in ocp_convert()
[all …]
Dconstexpr.cc109 error_at (DECL_SOURCE_LOCATION (decl), in ensure_literal_type_for_constexpr_object()
120 error_at (DECL_SOURCE_LOCATION (decl), in ensure_literal_type_for_constexpr_object()
133 error_at (DECL_SOURCE_LOCATION (decl), in ensure_literal_type_for_constexpr_object()
231 error_at (DECL_SOURCE_LOCATION (fun), in is_valid_constexpr_fn()
1851 error_at (cp_expr_loc_or_input_loc (t), in cxx_eval_internal_function()
1906 error_at (loc, "modifying a const object %qE is not allowed in " in modifying_const_object_error()
2126 error_at (loc, "reference %<dynamic_cast%> failed"); in cxx_eval_dynamic_cast_fn()
2151 error_at (loc, "virtual table pointer is used uninitialized"); in cxx_eval_dynamic_cast_fn()
2181 error_at (loc, "reference %<dynamic_cast%> failed"); in cxx_eval_dynamic_cast_fn()
2213 error_at (loc, "reference %<dynamic_cast%> failed"); in cxx_eval_dynamic_cast_fn()
[all …]
Dmapper-client.cc308 error_at (loc, line ? G_("failed %s mapper %qs line %u") in open_module_client()
321 error_at (loc, "failed mapper handshake %s", connect.GetString ().c_str ()); in open_module_client()
355 error_at (loc, "mapper died by signal %s", in close_module_client()
358 error_at (loc, "mapper exit status %d", in close_module_client()
Dtypeck.cc727 error_at (location, "comparison between distinct " in composite_pointer_type()
732 error_at (location, "conversion between distinct " in composite_pointer_type()
737 error_at (location, "conditional expression between distinct " in composite_pointer_type()
1905 error_at (loc, "invalid application of %qs to a void type", in cxx_sizeof_or_alignof_type()
1999 error_at (e_loc, in cxx_sizeof_expr()
2072 error_at (e_loc, in cxx_alignof_expr()
2208 error_at (loc, "invalid use of non-static member function %qD", in invalid_nonstatic_memfn_p()
2213 error_at (loc, "invalid use of non-static member function of " in invalid_nonstatic_memfn_p()
2344 error_at (loc, "void value not ignored as it ought to be"); in decay_conversion()
2380 error_at (loc, "invalid use of non-lvalue array"); in decay_conversion()
[all …]
Dtypeck2.cc84 error_at (LOC, AS, ARG); \ in cxx_readonly_error()
87 error_at (LOC, ASM, ARG); \ in cxx_readonly_error()
90 error_at (LOC, IN, ARG); \ in cxx_readonly_error()
93 error_at (LOC, DE, ARG); \ in cxx_readonly_error()
899 error_at (location_of (decl), in store_init_value()
1194 error_at (loc, "non-static initialization of" in digest_init_r()
1207 error_at (loc, "cannot initialize array of %qT from " in digest_init_r()
1217 error_at (loc, "initialization of flexible array member " in digest_init_r()
1332 error_at (loc, "cannot initialize aggregate of type %qT with " in digest_init_r()
1350 error_at (loc, "array must be initialized with a brace-enclosed" in digest_init_r()
[all …]
Ddecl2.cc482 error_at (loc, "built-in subscript operator without expression " in grok_array_decl()
496 error_at (loc, "built-in subscript operator with more than one " in grok_array_decl()
531 error_at (loc, "invalid types %<%T[%T]%> for array subscript", in grok_array_decl()
620 error_at (exp_loc, in delete_sanity()
634 error_at (exp_loc, in delete_sanity()
843 error_at (DECL_SOURCE_LOCATION (function), in check_classfn()
992 error_at (cp_expr_loc_or_loc (init, DECL_SOURCE_LOCATION (value)), in grokfield()
1005 error_at (declarator->id_loc, in grokfield()
1094 error_at (iloc, "initializer specified for friend " in grokfield()
1097 error_at (iloc, "initializer specified for static " in grokfield()
[all …]
Dcoroutines.cc303 error_at (&richloc, "coroutines require a traits template; cannot" in find_coro_traits_template_decl()
360 error_at (kw, "cannot instantiate %<coroutine traits%>"); in instantiate_coro_traits()
382 error_at (kw, "coroutines require a handle class template;" in find_coro_handle_template_decl()
407 error_at (kw, "cannot instantiate a %<coroutine handle%> for" in instantiate_coro_handle_for_promise_type()
492 error_at (loc, "unable to find the promise type for" in coro_promise_type_found_p()
511 error_at (ploc, "the coroutine promise type %qT declares both" in coro_promise_type_found_p()
648 error_at (loc, "no member named %qE in %qT", member_id, promise); in lookup_promise_method()
726 error_at (loc, "no member named %qE in %qT", member_id, await_type); in lookup_awaitable_member()
741 error_at (kw_loc, "%qs cannot be used outside a function", kw_name); in coro_common_keyword_context_valid_p()
749 error_at (kw_loc, "%qs cannot be used in the %<main%> function", in coro_common_keyword_context_valid_p()
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/config/avr/
Davr-c.cc65 error_at (loc, "%qs expects 1 argument but %d given", in avr_resolve_overloaded_builtin()
76 error_at (loc, "%qs expects a fixed-point value as argument", in avr_resolve_overloaded_builtin()
107 error_at (loc, "no matching fixed-point overload found for %qs", in avr_resolve_overloaded_builtin()
124 error_at (loc, "%qs expects 2 arguments but %d given", in avr_resolve_overloaded_builtin()
136 error_at (loc, "%qs expects a fixed-point value as first argument", in avr_resolve_overloaded_builtin()
144 error_at (loc, "%qs expects an integer value as second argument", in avr_resolve_overloaded_builtin()
173 error_at (loc, "no matching fixed-point overload found for %qs", in avr_resolve_overloaded_builtin()
190 error_at (loc, "%qs expects 1 argument but %d given", in avr_resolve_overloaded_builtin()
201 error_at (loc, "%qs expects a fixed-point value as first argument", in avr_resolve_overloaded_builtin()
230 error_at (loc, "no matching fixed-point overload found for %qs", in avr_resolve_overloaded_builtin()
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dgenoutput.cc442 error_at (d->loc, "maximum number of operands exceeded"); in scan_operands()
446 error_at (d->loc, "repeated operand number %d\n", opno); in scan_operands()
463 error_at (d->loc, "maximum number of operands exceeded"); in scan_operands()
467 error_at (d->loc, "repeated operand number %d\n", opno); in scan_operands()
485 error_at (d->loc, "maximum number of operands exceeded"); in scan_operands()
489 error_at (d->loc, "repeated operand number %d\n", opno); in scan_operands()
727 error_at (d->loc, "wrong number of alternatives in the output" in process_template()
766 error_at (d->loc, "character '%c' can only be used at the" in validate_insn_alternatives()
775 error_at (d->loc, "earlyclobber operands may not be" in validate_insn_alternatives()
800 error_at (d->loc, "NUL in alternative %d of operand %d", in validate_insn_alternatives()
[all …]
Dopts.cc225 error_at (loc, in set_struct_debug_option()
261 error_at (loc, in set_struct_debug_option()
268 error_at (loc, in set_struct_debug_option()
733 error_at (loc, "argument to %<-O%> should be a non-negative " in default_options_optimization()
839 error_at (loc, "%qs is incompatible with %qs", in control_options_for_live_patching()
845 error_at (loc, "%qs is incompatible with %qs", in control_options_for_live_patching()
851 error_at (loc, "%qs is incompatible with %qs", in control_options_for_live_patching()
857 error_at (loc, "%qs is incompatible with %qs", in control_options_for_live_patching()
868 error_at (loc, "%qs is incompatible with %qs", in control_options_for_live_patching()
878 error_at (loc, "%qs is incompatible with %qs", in control_options_for_live_patching()
[all …]
Dmultiple_target.cc75 error_at (DECL_SOURCE_LOCATION (node->decl), in create_dispatcher_calls()
82 error_at (DECL_SOURCE_LOCATION (node->decl), in create_dispatcher_calls()
90 error_at (DECL_SOURCE_LOCATION (node->decl), in create_dispatcher_calls()
335 error_at (DECL_SOURCE_LOCATION (node->decl), in expand_target_clones()
359 error_at (DECL_SOURCE_LOCATION (node->decl), in expand_target_clones()
363 error_at (DECL_SOURCE_LOCATION (node->decl), in expand_target_clones()
367 error_at (DECL_SOURCE_LOCATION (node->decl), in expand_target_clones()
Dgenpreds.cc71 error_at (loc, "%s: invalid character in path " in validate_exp()
85 error_at (loc, "%s: cannot use '%s' in a predicate expression", in validate_exp()
801 error_at (loc, "constraint name '%s' must be composed of letters," in add_constraint()
810 error_at (loc, "constraint letter '%s' cannot be " in add_constraint()
813 error_at (loc, "constraint name '%s' cannot be defined by the machine" in add_constraint()
833 error_at (loc, "redefinition of constraint '%s'", name); in add_constraint()
839 error_at (loc, "defining constraint '%s' here", name); in add_constraint()
846 error_at (loc, "constraint '%s' is a prefix", name); in add_constraint()
869 error_at (loc, "constraint letter '%c' is reserved " in add_constraint()
873 error_at (loc, "constraint names beginning with '%c' " in add_constraint()
[all …]
Dgentarget-def.cc167 error_at (get_file_location (insn), in def_target_insn()
171 error_at (get_file_location (insn), in def_target_insn()
175 error_at (get_file_location (insn), in def_target_insn()
276 error_at (info->loc, "duplicate definition of '%s'", name); in add_insn()
Dgensupport.cc279 error_at (loc, "empty match_code expression"); in compute_test_codes()
298 error_at (loc, "match_code \"%.*s\" matches nothing", in compute_test_codes()
321 error_at (loc, "reference to unknown predicate '%s'", in compute_test_codes()
337 error_at (loc, "'%s' cannot be used in predicates or constraints", in compute_test_codes()
376 error_at (loc, "%s: predicate name must be a valid C function name", in process_define_predicate()
622 error_at (loc, "the rewrite condition must start with `&&'"); in process_rtx()
677 error_at (elem->loc, "multiple alternatives for `predicable'"); in is_predicable()
696 error_at (elem->loc, "non-constant value for `predicable'"); in is_predicable()
716 error_at (elem->loc, "unknown value `%s' for `predicable' attribute", value); in is_predicable()
788 error_at (elem->loc, "unsupported value for `%s'", subst_name); in has_subst_attribute()
[all …]
Ddiagnostic-core.h92 extern void error_at (location_t, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3);
93 extern void error_at (rich_location *, const char *, ...)
Dopts-common.cc1381 error_at (loc, "command-line option %qs" in cmdline_handle_error()
1389 error_at (loc, option->missing_argument_error, opt); in cmdline_handle_error()
1391 error_at (loc, "missing argument to %qs", opt); in cmdline_handle_error()
1398 error_at (loc, "argument to %qs should be a non-negative integer " in cmdline_handle_error()
1402 error_at (loc, "argument to %qs should be a non-negative integer", in cmdline_handle_error()
1409 error_at (loc, "argument to %qs is not between %d and %d", in cmdline_handle_error()
1473 error_at (loc, "invalid argument in option %qs", opt); in cmdline_handle_error()
1498 error_at (loc, e->unknown_error, arg); in cmdline_handle_error()
1500 error_at (loc, "unrecognized argument in option %qs", opt); in cmdline_handle_error()
1546 error_at (loc, "unrecognized command-line option %qs", decoded->arg); in read_cmdline_option()
[all …]
Dtoplev.cc1295 error_at (UNKNOWN_LOCATION, in process_options()
1302 error_at (UNKNOWN_LOCATION, in process_options()
1309 error_at (UNKNOWN_LOCATION, in process_options()
1324 error_at (UNKNOWN_LOCATION, in process_options()
1398 error_at (UNKNOWN_LOCATION, in process_options()
1405 error_at (UNKNOWN_LOCATION, in process_options()
1456 error_at (UNKNOWN_LOCATION, in process_options()
1664 error_at (UNKNOWN_LOCATION, "%<-fsanitize=shadow-call-stack%> " in process_options()
2301 error_at (UNKNOWN_LOCATION, "self-tests incompatible with %<-E%>"); in main()
Dgenflags.cc155 error_at (info->loc, "unresolved iterator in %s", name); in gen_insn()
162 error_at (info->loc, "unmatched angle brackets, likely " in gen_insn()
Dread-md.cc226 error_at (file_location loc, const char *msg, ...) in error_at() function
716 error_at (loc, "unterminated construct"); in read_skip_construct()
918 error_at (loc, "redefining `%s' as a different type of enum", in handle_enum()
939 error_at (loc, "unterminated construct"); in handle_enum()
1107 error_at (loc, "include file `%s' not found", filename); in handle_include()
/netbsd/src/external/gpl3/gcc/dist/gcc/config/s390/
Ds390-c.cc487 error_at (loc, "builtin %qs can only be used on vector types", in s390_expand_overloaded_builtin()
908 error_at (loc, in s390_resolve_overloaded_builtin()
921 error_at (loc, "%qF requires %<-mvx%>", ob_fndecl); in s390_resolve_overloaded_builtin()
927 error_at (loc, "%qF requires z14 or higher", ob_fndecl); in s390_resolve_overloaded_builtin()
933 error_at (loc, "%qF requires z15 or higher", ob_fndecl); in s390_resolve_overloaded_builtin()
946 error_at (loc, in s390_resolve_overloaded_builtin()
996 error_at (loc, "invalid parameter combination for intrinsic %qs", in s390_resolve_overloaded_builtin()
1002 error_at (loc, "ambiguous overload for intrinsic %qs", in s390_resolve_overloaded_builtin()
1010 error_at (loc, "%qs matching variant requires z14 or higher", in s390_resolve_overloaded_builtin()
1019 error_at (loc, "%qs matching variant requires z15 or higher", in s390_resolve_overloaded_builtin()
/netbsd/src/external/gpl3/gcc/dist/gcc/objc/
Dobjc-act.cc581 error_at (name_loc, "class attributes are not available in Objective-C 1.0"); in objc_start_class_interface()
596 error_at (input_location, "category attributes are not available in Objective-C 1.0"); in objc_start_category_interface()
605 error_at (input_location, "class extensions are not available in Objective-C 1.0"); in objc_start_category_interface()
618 error_at (input_location, in objc_start_category_interface()
634 error_at (input_location, "protocol attributes are not available in Objective-C 1.0"); in objc_start_protocol()
721 error_at (input_location, "%<@optional%> is not available in Objective-C 1.0"); in objc_set_method_opt()
723 error_at (input_location, "%<@required%> is not available in Objective-C 1.0"); in objc_set_method_opt()
856 error_at (location, "%<@property%> is not available in Objective-C 1.0"); in objc_add_property_declaration()
861 error_at (location, "property declaration not in %<@interface%>," in objc_add_property_declaration()
872 error_at (location, "properties must be named"); in objc_add_property_declaration()
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/lto/
Dlto-dump.cc258 error_at (input_location, "Level not found, use none, slim, blocks, vops."); in dump_body()
273 error_at (input_location, "Function not found."); in dump_body()

12345