Home
last modified time | relevance | path

Searched refs:declspecs (Results 1 – 25 of 27) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Ddecl.c4947 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 Ddecl2.c826 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 Dparser.c33012 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 Ddecl.cc5277 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 Ddecl2.cc958 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 Dparser.cc35307 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 DChangeLog-20182333 (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 DChangeLog-19941445 * 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 DChangeLog-20152731 * decl.c (grokdeclarator): Use declspecs->locations[ds_virtual].
3104 * decl.c (check_tag_decl): Use declspecs->locations as locations in
H A DChangeLog-19951009 * parse.y (reserved_declspecs): Link prefix attributes with declspecs.
1012 split_specs_attrs or strip_attrs to separate declspecs and attrs.
H A DChangeLog-2012372 Index declspecs.locations by ds_typedef rather than ds_thread.
H A DChangeLog-2010923 missing or invalid declspecs. Implemented attributes. Do not eat
H A DChangeLog-19962423 declspecs.
H A DChangeLog-2011167 to error_mark_node to disallow NSDMI if declspecs->storage_class
H A DChangeLog-20172522 the splice_late_return_type call; if declspecs->locations[ds_type_spec]
H A DChangeLog-20043689 * decl.c (grokvardecl): Make declspecs parameter const.
H A DChangeLog-20192489 * decl.c (grokdeclarator): Use declspecs->locations and
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c/
H A Dc-decl.c4592 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 Dc-decl.cc4683 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 DChangeLog3148 * 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 Dobjc-encoding.cc216 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 DChangeLog4103 wade through declspecs.
4166 with TYPE_P nodes instead of raw declspecs.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/objc/
H A Dobjc-encoding.c216 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 DChangeLog-199810607 * c-decl.c (shadow_tag_warned): Use specs not declspecs in for loop.
H A DChangeLog-200414247 declspecs_nosc_ts, declspecs_nosc_nots, declspecs_nosc, declspecs,
14255 (fndef): Use current_declspecs for empty declspecs list.

12