/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
H A D | decl.c | 4947 get_type_quals (const cp_decl_specifier_seq *declspecs) in get_type_quals() argument 4951 if (decl_spec_seq_has_spec_p (declspecs, ds_const)) in get_type_quals() 4953 if (decl_spec_seq_has_spec_p (declspecs, ds_volatile)) in get_type_quals() 4955 if (decl_spec_seq_has_spec_p (declspecs, ds_restrict)) in get_type_quals() 4967 check_tag_decl (cp_decl_specifier_seq *declspecs, in check_tag_decl() argument 4970 int saw_friend = decl_spec_seq_has_spec_p (declspecs, ds_friend); in check_tag_decl() 4971 int saw_typedef = decl_spec_seq_has_spec_p (declspecs, ds_typedef); in check_tag_decl() 4979 if (declspecs->multiple_types_p) in check_tag_decl() 4980 error_at (smallest_type_location (declspecs), in check_tag_decl() 4982 else if (declspecs->redefined_builtin_type) in check_tag_decl() [all …]
|
H A D | decl2.c | 826 cp_decl_specifier_seq *declspecs, in grokfield() argument 841 value = grokdeclarator (declarator, declspecs, FIELD, init != 0, &attrlist); in grokfield() 887 if (decl_spec_seq_has_spec_p (declspecs, ds_typedef) in grokfield() 902 int friendp = decl_spec_seq_has_spec_p (declspecs, ds_friend); in grokfield() 997 if (decl_spec_seq_has_spec_p (declspecs, ds_constinit)) in grokfield() 1045 cp_decl_specifier_seq *declspecs, tree width, tree init, in grokbitfield() argument 1048 tree value = grokdeclarator (declarator, declspecs, BITFIELD, in grokbitfield()
|
H A D | parser.c | 33012 cp_decl_specifier_seq declspecs; in cp_parser_objc_class_ivars() local 33023 &declspecs, in cp_parser_objc_class_ivars() 33027 if (declspecs.storage_class != sc_none) in cp_parser_objc_class_ivars() 33030 declspecs.storage_class = sc_none; in cp_parser_objc_class_ivars() 33034 if (decl_spec_seq_has_spec_p (&declspecs, ds_thread)) in cp_parser_objc_class_ivars() 33037 declspecs.locations[ds_thread] = 0; in cp_parser_objc_class_ivars() 33041 if (decl_spec_seq_has_spec_p (&declspecs, ds_typedef)) in cp_parser_objc_class_ivars() 33044 declspecs.locations[ds_typedef] = 0; in cp_parser_objc_class_ivars() 33047 prefix_attributes = declspecs.attributes; in cp_parser_objc_class_ivars() 33048 declspecs.attributes = NULL_TREE; in cp_parser_objc_class_ivars() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
H A D | decl.cc | 5277 get_type_quals (const cp_decl_specifier_seq *declspecs) in get_type_quals() argument 5281 if (decl_spec_seq_has_spec_p (declspecs, ds_const)) in get_type_quals() 5283 if (decl_spec_seq_has_spec_p (declspecs, ds_volatile)) in get_type_quals() 5285 if (decl_spec_seq_has_spec_p (declspecs, ds_restrict)) in get_type_quals() 5297 check_tag_decl (cp_decl_specifier_seq *declspecs, in check_tag_decl() argument 5300 int saw_friend = decl_spec_seq_has_spec_p (declspecs, ds_friend); in check_tag_decl() 5301 int saw_typedef = decl_spec_seq_has_spec_p (declspecs, ds_typedef); in check_tag_decl() 5309 if (declspecs->multiple_types_p) in check_tag_decl() 5310 error_at (smallest_type_location (declspecs), in check_tag_decl() 5312 else if (declspecs->redefined_builtin_type) in check_tag_decl() [all …]
|
H A D | decl2.cc | 958 cp_decl_specifier_seq *declspecs, in grokfield() argument 983 value = grokdeclarator (declarator, declspecs, FIELD, initialized, &attrlist); in grokfield() 1029 if (decl_spec_seq_has_spec_p (declspecs, ds_typedef) in grokfield() 1044 int friendp = decl_spec_seq_has_spec_p (declspecs, ds_friend); in grokfield() 1181 cp_decl_specifier_seq *declspecs, tree width, tree init, in grokbitfield() argument 1184 tree value = grokdeclarator (declarator, declspecs, BITFIELD, in grokbitfield()
|
H A D | parser.cc | 35307 cp_decl_specifier_seq declspecs; in cp_parser_objc_class_ivars() local 35318 &declspecs, in cp_parser_objc_class_ivars() 35322 if (declspecs.storage_class != sc_none) in cp_parser_objc_class_ivars() 35325 declspecs.storage_class = sc_none; in cp_parser_objc_class_ivars() 35329 if (decl_spec_seq_has_spec_p (&declspecs, ds_thread)) in cp_parser_objc_class_ivars() 35332 declspecs.locations[ds_thread] = 0; in cp_parser_objc_class_ivars() 35336 if (decl_spec_seq_has_spec_p (&declspecs, ds_typedef)) in cp_parser_objc_class_ivars() 35339 declspecs.locations[ds_typedef] = 0; in cp_parser_objc_class_ivars() 35342 prefix_attributes = declspecs.attributes; in cp_parser_objc_class_ivars() 35343 declspecs.attributes = NULL_TREE; in cp_parser_objc_class_ivars() [all …]
|
H A D | ChangeLog-2018 | 2333 (grokdeclarator): Use declspecs->locations[ds_constexpr], 2334 declspecs->locations[ds_concept], declspecs->locations[ds_virtual], 2335 declspecs->locations[ds_inline] in many error messages; adjust 2337 (grokvardecl): Use declspecs->locations[ds_concept] in error message. 2516 (grokdeclarator): Use declspecs->locations[ds_storage_class]
|
H A D | ChangeLog-1994 | 1445 * decl.c (grokdeclarator): Undo changes to declspecs when we're done 2992 * parse.y (components): Anonymous bitfields can still have declspecs. 3517 to get declspecs from some arbitrary $0. 4363 the declspecs on class_obstack, so don't. This way typed_typespecs
|
H A D | ChangeLog-2015 | 2731 * decl.c (grokdeclarator): Use declspecs->locations[ds_virtual]. 3104 * decl.c (check_tag_decl): Use declspecs->locations as locations in
|
H A D | ChangeLog-1995 | 1009 * parse.y (reserved_declspecs): Link prefix attributes with declspecs. 1012 split_specs_attrs or strip_attrs to separate declspecs and attrs.
|
H A D | ChangeLog-2012 | 372 Index declspecs.locations by ds_typedef rather than ds_thread.
|
H A D | ChangeLog-2010 | 923 missing or invalid declspecs. Implemented attributes. Do not eat
|
H A D | ChangeLog-1996 | 2423 declspecs.
|
H A D | ChangeLog-2011 | 167 to error_mark_node to disallow NSDMI if declspecs->storage_class
|
H A D | ChangeLog-2017 | 2522 the splice_late_return_type call; if declspecs->locations[ds_type_spec]
|
H A D | ChangeLog-2004 | 3689 * decl.c (grokvardecl): Make declspecs parameter const.
|
H A D | ChangeLog-2019 | 2489 * decl.c (grokdeclarator): Use declspecs->locations and
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c/ |
H A D | c-decl.c | 4592 shadow_tag (const struct c_declspecs *declspecs) in shadow_tag() argument 4594 shadow_tag_warned (declspecs, 0); in shadow_tag() 4600 shadow_tag_warned (const struct c_declspecs *declspecs, int warned) in shadow_tag_warned() argument 4604 if (declspecs->type && !declspecs->default_int_p && !declspecs->typedef_p) in shadow_tag_warned() 4606 tree value = declspecs->type; in shadow_tag_warned() 4618 if (declspecs->restrict_p) in shadow_tag_warned() 4634 else if (declspecs->typespec_kind != ctsk_tagdef in shadow_tag_warned() 4635 && declspecs->typespec_kind != ctsk_tagfirstref in shadow_tag_warned() 4636 && declspecs->typespec_kind != ctsk_tagfirstref_attrs in shadow_tag_warned() 4637 && declspecs->storage_class != csc_none) in shadow_tag_warned() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/c/ |
H A D | c-decl.cc | 4683 shadow_tag (const struct c_declspecs *declspecs) in shadow_tag() argument 4685 shadow_tag_warned (declspecs, 0); in shadow_tag() 4691 shadow_tag_warned (const struct c_declspecs *declspecs, int warned) in shadow_tag_warned() argument 4695 if (declspecs->type && !declspecs->default_int_p && !declspecs->typedef_p) in shadow_tag_warned() 4697 tree value = declspecs->type; in shadow_tag_warned() 4709 if (declspecs->restrict_p) in shadow_tag_warned() 4725 else if (declspecs->typespec_kind != ctsk_tagdef in shadow_tag_warned() 4726 && declspecs->typespec_kind != ctsk_tagfirstref in shadow_tag_warned() 4727 && declspecs->typespec_kind != ctsk_tagfirstref_attrs in shadow_tag_warned() 4728 && declspecs->storage_class != csc_none) in shadow_tag_warned() [all …]
|
H A D | ChangeLog | 3148 * c-decl.c (grokdeclarator): Check declspecs insted of atomicp. 7701 (shadow_tag_warned): Handle atomic_p in declspecs. 7713 (build_null_declspecs): Handle atomic_p in declspecs.
|
/netbsd-src/external/gpl3/gcc/dist/gcc/objc/ |
H A D | objc-encoding.cc | 216 encode_type_qualifiers (tree declspecs) in encode_type_qualifiers() argument 220 for (spec = declspecs; spec; spec = TREE_CHAIN (spec)) in encode_type_qualifiers()
|
H A D | ChangeLog | 4103 wade through declspecs. 4166 with TYPE_P nodes instead of raw declspecs.
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/objc/ |
H A D | objc-encoding.c | 216 encode_type_qualifiers (tree declspecs) in encode_type_qualifiers() argument 220 for (spec = declspecs; spec; spec = TREE_CHAIN (spec)) in encode_type_qualifiers()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | ChangeLog-1998 | 10607 * c-decl.c (shadow_tag_warned): Use specs not declspecs in for loop.
|
H A D | ChangeLog-2004 | 14247 declspecs_nosc_ts, declspecs_nosc_nots, declspecs_nosc, declspecs, 14255 (fndef): Use current_declspecs for empty declspecs list.
|