Home
last modified time | relevance | path

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

/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dc-decl.c3646 shadow_tag (const struct c_declspecs *declspecs) in shadow_tag() argument
3648 shadow_tag_warned (declspecs, 0); in shadow_tag()
3654 shadow_tag_warned (const struct c_declspecs *declspecs, int warned) in shadow_tag_warned() argument
3658 if (declspecs->type && !declspecs->default_int_p && !declspecs->typedef_p) in shadow_tag_warned()
3660 tree value = declspecs->type; in shadow_tag_warned()
3672 if (declspecs->restrict_p) in shadow_tag_warned()
3688 else if (declspecs->typespec_kind != ctsk_tagdef in shadow_tag_warned()
3689 && declspecs->typespec_kind != ctsk_tagfirstref in shadow_tag_warned()
3690 && declspecs->storage_class != csc_none) in shadow_tag_warned()
3699 else if (declspecs->typespec_kind != ctsk_tagdef in shadow_tag_warned()
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/c/
H A Dc-decl.c4298 shadow_tag (const struct c_declspecs *declspecs) in shadow_tag() argument
4300 shadow_tag_warned (declspecs, 0); in shadow_tag()
4306 shadow_tag_warned (const struct c_declspecs *declspecs, int warned) in shadow_tag_warned() argument
4310 if (declspecs->type && !declspecs->default_int_p && !declspecs->typedef_p) in shadow_tag_warned()
4312 tree value = declspecs->type; in shadow_tag_warned()
4324 if (declspecs->restrict_p) in shadow_tag_warned()
4340 else if (declspecs->typespec_kind != ctsk_tagdef in shadow_tag_warned()
4341 && declspecs->typespec_kind != ctsk_tagfirstref in shadow_tag_warned()
4342 && declspecs->storage_class != csc_none) in shadow_tag_warned()
4351 else if (declspecs->typespec_kind != ctsk_tagdef in shadow_tag_warned()
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/cp/
H A Ddecl.c4770 check_tag_decl (cp_decl_specifier_seq *declspecs, in check_tag_decl() argument
4773 int saw_friend = decl_spec_seq_has_spec_p (declspecs, ds_friend); in check_tag_decl()
4774 int saw_typedef = decl_spec_seq_has_spec_p (declspecs, ds_typedef); in check_tag_decl()
4782 if (declspecs->multiple_types_p) in check_tag_decl()
4784 else if (declspecs->redefined_builtin_type) in check_tag_decl()
4787 permerror (declspecs->locations[ds_redefined_builtin_type_spec], in check_tag_decl()
4789 declspecs->redefined_builtin_type); in check_tag_decl()
4793 if (declspecs->type in check_tag_decl()
4794 && TYPE_P (declspecs->type) in check_tag_decl()
4795 && ((TREE_CODE (declspecs->type) != TYPENAME_TYPE in check_tag_decl()
[all …]
H A Ddecl2.c816 cp_decl_specifier_seq *declspecs, in grokfield() argument
832 value = grokdeclarator (declarator, declspecs, FIELD, init != 0, &attrlist); in grokfield()
885 if (decl_spec_seq_has_spec_p (declspecs, ds_typedef) in grokfield()
900 int friendp = decl_spec_seq_has_spec_p (declspecs, ds_friend); in grokfield()
1038 cp_decl_specifier_seq *declspecs, tree width, tree init, in grokbitfield() argument
1041 tree value = grokdeclarator (declarator, declspecs, BITFIELD, in grokbitfield()
H A Dparser.c30340 cp_decl_specifier_seq declspecs; in cp_parser_objc_class_ivars() local
30351 &declspecs, in cp_parser_objc_class_ivars()
30355 if (declspecs.storage_class != sc_none) in cp_parser_objc_class_ivars()
30358 declspecs.storage_class = sc_none; in cp_parser_objc_class_ivars()
30362 if (decl_spec_seq_has_spec_p (&declspecs, ds_thread)) in cp_parser_objc_class_ivars()
30365 declspecs.locations[ds_thread] = 0; in cp_parser_objc_class_ivars()
30369 if (decl_spec_seq_has_spec_p (&declspecs, ds_typedef)) in cp_parser_objc_class_ivars()
30372 declspecs.locations[ds_typedef] = 0; in cp_parser_objc_class_ivars()
30375 prefix_attributes = declspecs.attributes; in cp_parser_objc_class_ivars()
30376 declspecs.attributes = NULL_TREE; in cp_parser_objc_class_ivars()
[all …]
/dflybsd-src/contrib/gcc-4.7/gcc/cp/
H A Ddecl.c4122 check_tag_decl (cp_decl_specifier_seq *declspecs) in check_tag_decl() argument
4124 int saw_friend = declspecs->specs[(int)ds_friend] != 0; in check_tag_decl()
4125 int saw_typedef = declspecs->specs[(int)ds_typedef] != 0; in check_tag_decl()
4133 if (declspecs->multiple_types_p) in check_tag_decl()
4135 else if (declspecs->redefined_builtin_type) in check_tag_decl()
4139 declspecs->redefined_builtin_type); in check_tag_decl()
4143 if (declspecs->type in check_tag_decl()
4144 && TYPE_P (declspecs->type) in check_tag_decl()
4145 && ((TREE_CODE (declspecs->type) != TYPENAME_TYPE in check_tag_decl()
4146 && MAYBE_CLASS_TYPE_P (declspecs->type)) in check_tag_decl()
[all …]
H A Ddecl2.c792 cp_decl_specifier_seq *declspecs, in grokfield() argument
808 value = grokdeclarator (declarator, declspecs, FIELD, init != 0, &attrlist); in grokfield()
864 if (declspecs->specs[(int)ds_typedef] in grokfield()
1015 cp_decl_specifier_seq *declspecs, tree width, in grokbitfield() argument
1018 tree value = grokdeclarator (declarator, declspecs, BITFIELD, 0, &attrlist); in grokbitfield()
H A Dparser.c23909 cp_decl_specifier_seq declspecs; in cp_parser_objc_class_ivars() local
23920 &declspecs, in cp_parser_objc_class_ivars()
23924 if (declspecs.storage_class != sc_none) in cp_parser_objc_class_ivars()
23927 declspecs.storage_class = sc_none; in cp_parser_objc_class_ivars()
23931 if (declspecs.specs[(int) ds_thread]) in cp_parser_objc_class_ivars()
23934 declspecs.specs[(int) ds_thread] = 0; in cp_parser_objc_class_ivars()
23938 if (declspecs.specs[(int) ds_typedef]) in cp_parser_objc_class_ivars()
23941 declspecs.specs[(int) ds_typedef] = 0; in cp_parser_objc_class_ivars()
23944 prefix_attributes = declspecs.attributes; in cp_parser_objc_class_ivars()
23945 declspecs.attributes = NULL_TREE; in cp_parser_objc_class_ivars()
[all …]
/dflybsd-src/contrib/gcc-4.7/gcc/objc/
H A Dobjc-encoding.c218 encode_type_qualifiers (tree declspecs) in encode_type_qualifiers() argument
222 for (spec = declspecs; spec; spec = TREE_CHAIN (spec)) in encode_type_qualifiers()