Home
last modified time | relevance | path

Searched refs:permerror (Results 1 – 25 of 38) sorted by relevance

12

/netbsd/src/external/gpl3/gcc/dist/gcc/
Ddiagnostic-core.h102 extern bool permerror (location_t, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3);
103 extern bool permerror (rich_location *, const char *,
Ddiagnostic.def49 DEFINE_DIAGNOSTIC_KIND (DK_PERMERROR, "permerror: ", NULL)
Ddiagnostic.cc1807 permerror (location_t location, const char *gmsgid, ...) in permerror() function
1821 permerror (rich_location *richloc, const char *gmsgid, ...) in permerror() function
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Dtypeck.cc2008 permerror (e_loc, "ISO C++ forbids applying %<sizeof%> to " in cxx_sizeof_expr()
2084 permerror (e_loc, "ISO C++ forbids applying %<__alignof%> to " in cxx_alignof_expr()
3020 permerror (input_location, "%qD is not a template", decl); in check_template_keyword()
3023 permerror (input_location, "%qD is not a template", decl); in check_template_keyword()
3040 permerror (input_location, "%qD is not a template", decl); in check_template_keyword()
5008 permerror (location, in cp_build_binary_op()
5020 permerror (location, in cp_build_binary_op()
5537 permerror (location, "ISO C++ forbids comparison between " in cp_build_binary_op()
5546 permerror (location, "ISO C++ forbids comparison between " in cp_build_binary_op()
5840 permerror (location, "ISO C++ forbids comparison between " in cp_build_binary_op()
[all …]
Ddecl2.cc913 permerror (DECL_SOURCE_LOCATION (decl), in finish_static_data_member_decl()
922 if (permerror (DECL_SOURCE_LOCATION (decl), in finish_static_data_member_decl()
1825 permerror (DECL_SOURCE_LOCATION (field), in build_anon_union_vars()
1832 permerror (DECL_SOURCE_LOCATION (field), in build_anon_union_vars()
1835 permerror (DECL_SOURCE_LOCATION (field), in build_anon_union_vars()
1975 permerror (loc, "%<operator new%> takes type %<size_t%> (%qT) " in coerce_new_type()
4736 d = permerror (DECL_SOURCE_LOCATION (decl), "%q#D, declared using " in no_linkage_error()
4749 d = permerror (DECL_SOURCE_LOCATION (decl), "unnamed type with no " in no_linkage_error()
4760 permerror (DECL_SOURCE_LOCATION (decl), in no_linkage_error()
4768 permerror (DECL_SOURCE_LOCATION (decl), "type %qT with no linkage used " in no_linkage_error()
Ddecl.cc1211 if (permerror (DECL_SOURCE_LOCATION (newdecl), in warn_extern_redeclared_static()
1373 permerror (DECL_SOURCE_LOCATION (decl), in check_redeclaration_no_default_args()
1402 if (permerror (DECL_SOURCE_LOCATION (newdecl), in check_no_redeclaration_friend_default_args()
1684 if (permerror (newdecl_loc, in duplicate_decls()
2063 if (permerror (newdecl_loc, in duplicate_decls()
5188 if (permerror (DECL_SOURCE_LOCATION (probe), in fixup_anonymous_aggr()
5316 permerror (loc, "redeclaration of C++ built-in type %qT", in check_tag_decl()
5342 permerror (input_location, "declaration does not declare anything"); in check_tag_decl()
5688 permerror (input_location, "ISO C++ does not permit %<%T::%D%> " in start_decl()
5747 permerror (declarator->id_loc, in start_decl()
[all …]
Dcvt.cc403 permerror (loc, msg, reftype, intype); in diagnose_ref_binding()
476 permerror (loc, "conversion from %qH to %qI discards qualifiers", in convert_to_reference()
814 permerror (loc, "conversion from %q#T to %q#T", intype, type); in ocp_convert()
Dlex.cc768 permerror (loc, "there are no arguments to %qD that depend on a template " in unqualified_fn_lookup_error()
DChangeLog-2015611 emit_diagnostic instead of permerror.
2169 (finish_struct_anon_r): Likewise use DECL_SOURCE_LOCATION in permerror.
2171 (check_field_decls): Likewise for permerror.
2174 (note_name_declared_in_class): Use location_of in permerror.
2179 permerror.
2201 maybe_process_partial_specialization): Likewise for permerror.
2232 (check_redeclaration_no_default_args): Likewise for permerror.
2373 Tweak default argument permerror.
2868 * decl2.c (no_linkage_error): Do not issue a permerror if the DECL
Dexcept.cc1032 permerror (EXPR_LOCATION (handler), "%<...%>" in check_handlers()
Dinit.cc1120 if (permerror (DECL_SOURCE_LOCATION (current_function_decl), in perform_member_init()
1138 if (permerror (DECL_SOURCE_LOCATION (current_function_decl), in perform_member_init()
1146 if (permerror (DECL_SOURCE_LOCATION (current_function_decl), in perform_member_init()
3937 permerror (nelts_loc, in build_new()
Dcall.cc6639 permerror (loc, msg, fnname, OVL_OP_INFO (false, code)->name); in build_new_op()
7358 if (permerror (input_location, msg1)) in build_op_delete_call()
7866 complained = permerror (loc, "too many braces around initializer " in convert_like_internal()
7877 complained = permerror (loc, "converting to %qH from %qI requires " in convert_like_internal()
7886 complained = permerror (loc, "invalid user-defined conversion " in convert_like_internal()
7922 complained = permerror (&richloc, in convert_like_internal()
9465 if (permerror (input_location, "passing %qT as %<this%> " in build_over_call()
10923 if (permerror (input_location, in build_new_method_call()
12480 if (permerror (input_location, in joust()
Dconstexpr.cc3121 permerror (input_location, "overflow in constant expression"); in verify_constant()
3154 permerror (loc, "right operand of shift expression %q+E is negative", in cxx_eval_check_shift_p()
3161 permerror (loc, "right operand of shift expression %q+E is greater " in cxx_eval_check_shift_p()
3183 permerror (loc, in cxx_eval_check_shift_p()
3203 permerror (loc, "shift expression %q+E overflows", in cxx_eval_check_shift_p()
6586 permerror (input_location, "overflow in constant expression"); in cxx_eval_constant_expression()
DChangeLog-200856 references call permerror instead of warning and don't emit any
670 permerror.
864 * typeck.c: Update all callers of permerror.
1614 pedwarn to permerror.
2545 * class.c (finish_struct_anon): Use permerror instead of pedwarn.
DChangeLog-2013104 with error + inform (permerror + inform, respectively).
2662 warning_at and permerror with warning_at/inform and permerror/
3094 * typeck.c (cp_build_unary_op): Change -Wpointer-arith permerror to
3493 to permerror + inform (and likewise for two errors).
3510 * call.c (joust): Don't call inform for a permerror returning false.
Dpt.cc855 if (permerror (input_location, in check_specialization_namespace()
875 permerror (input_location, "explicit instantiation of %qD in namespace %qD " in check_explicit_instantiation_namespace()
1096 if (permerror (input_location, in maybe_process_partial_specialization()
2748 permerror (loc, "explicit specialization of %qD outside its " in check_unqualified_spec_or_inst()
2992 permerror (input_location, in check_explicit_specialization()
5432 permerror (input_location, in process_partial_specialization()
5436 permerror (input_location, in process_partial_specialization()
8490 permerror (input_location, in convert_template_argument()
20952 diag = permerror (cp_expr_loc_or_input_loc (t), in tsubst_copy_and_build()
25953 permerror (input_location, "duplicate explicit instantiation of %q#D", result); in do_decl_instantiation()
[all …]
DChangeLog-2014202 (check_previous_goto_1): Consistently emit permerror + inform.
1777 if permerror returns true.
2972 * decl.c (duplicate_decls): Check for the return of permerror
3078 * decl.c (grokdeclarator): Change permerror about 'virtual auto'
DChangeLog-20181911 emit an error instead of a permerror.
2057 * class.c (note_name_declared_in_class): Use location_of in permerror
2170 * class.c (note_name_declared_in_class): Prefer permerror + inform
2191 inform if the matching permerror returns false.
2519 in permerror call.
4259 except for __[^b]*_chk, instead issue permerror and for -fpermissive
Dtypeck2.cc1247 permerror (loc, "initializer-string for %qT is too long", in digest_init_r()
Dclass.cc3933 permerror (DECL_SOURCE_LOCATION (field), in check_field_decls()
8632 if (permerror (input_location, "assuming pointer to member %qD", fn) in resolve_address_of_overloaded_function()
9004 if (permerror (location_of (decl), in note_name_declared_in_class()
Dparser.cc6635 permerror (input_location, TYPE_P (name) in check_template_keyword_in_nested_name_spec()
15375 permerror (decl_specifiers.locations[ds_type_spec], in cp_parser_simple_declaration()
16860 permerror (token->location, in cp_parser_mem_initializer()
18241 if (permerror (next_token->location, in cp_parser_template_id()
19132 permerror (decl_specifiers.locations[ds_inline], in cp_parser_explicit_instantiation()
19136 permerror (decl_specifiers.locations[ds_constexpr], in cp_parser_explicit_instantiation()
19140 permerror (decl_specifiers.locations[ds_consteval], in cp_parser_explicit_instantiation()
20974 permerror (type_start_token->location, in cp_parser_enum_specifier()
22792 && permerror (input_location, in cp_parser_init_declarator()
24939 permerror (token->location, in cp_parser_parameter_declaration()
[all …]
DChangeLog-20191186 in permerror.
1549 location used for the permerror.
3947 to permerror with inform for consistency with other uses.
5602 * decl.c (start_decl): Improve permerror location.
DChangeLog-2010492 (verify_constant): Allow overflow with a permerror if we're
1380 * typeck.c (lvalue_or_else): Make temporary arg a permerror.
Dname-lookup.cc3210 if (permerror (DECL_SOURCE_LOCATION (decl), in check_local_shadow()
/netbsd/src/external/gpl3/gcc/dist/gcc/config/vms/
Dvms-c.cc235 permerror (input_location, "junk at end of '#pragma extern_model'"); in vms_pragma_extern_model()

12