Lines Matching refs:declspecs

3646 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()
3700 && declspecs->typespec_kind != ctsk_tagfirstref in shadow_tag_warned()
3701 && (declspecs->const_p in shadow_tag_warned()
3702 || declspecs->volatile_p in shadow_tag_warned()
3703 || declspecs->restrict_p in shadow_tag_warned()
3704 || declspecs->address_space)) in shadow_tag_warned()
3713 else if (declspecs->typespec_kind != ctsk_tagdef in shadow_tag_warned()
3714 && declspecs->typespec_kind != ctsk_tagfirstref in shadow_tag_warned()
3715 && declspecs->alignas_p) in shadow_tag_warned()
3746 else if (warned != 1 && !in_system_header && declspecs->typedef_p) in shadow_tag_warned()
3754 if (declspecs->inline_p) in shadow_tag_warned()
3760 if (declspecs->noreturn_p) in shadow_tag_warned()
3766 if (current_scope == file_scope && declspecs->storage_class == csc_auto) in shadow_tag_warned()
3772 if (current_scope == file_scope && declspecs->storage_class == csc_register) in shadow_tag_warned()
3778 if (!warned && !in_system_header && declspecs->storage_class != csc_none) in shadow_tag_warned()
3784 if (!warned && !in_system_header && declspecs->thread_p) in shadow_tag_warned()
3790 if (!warned && !in_system_header && (declspecs->const_p in shadow_tag_warned()
3791 || declspecs->volatile_p in shadow_tag_warned()
3792 || declspecs->restrict_p in shadow_tag_warned()
3793 || declspecs->address_space)) in shadow_tag_warned()
3799 if (!warned && !in_system_header && declspecs->alignas_p) in shadow_tag_warned()
3981 start_decl (struct c_declarator *declarator, struct c_declspecs *declspecs, in start_decl() argument
3994 decl = grokdeclarator (declarator, declspecs, in start_decl()
4102 if (declspecs->inline_p in start_decl()
4108 if (declspecs->storage_class == csc_auto && current_scope != file_scope) in start_decl()
4110 else if (declspecs->storage_class != csc_static) in start_decl()
4888 struct c_declspecs *declspecs, in grokdeclarator() argument
4893 tree type = declspecs->type; in grokdeclarator()
4894 bool threadp = declspecs->thread_p; in grokdeclarator()
4895 enum c_storage_class storage_class = declspecs->storage_class; in grokdeclarator()
4904 tree decl_attr = declspecs->decl_attr; in grokdeclarator()
4928 *expr = declspecs->expr; in grokdeclarator()
4929 *expr_const_operands = declspecs->expr_const_operands; in grokdeclarator()
4993 if (declspecs->deprecated_p && deprecated_state != DEPRECATED_SUPPRESS) in grokdeclarator()
4994 warn_deprecated_use (declspecs->type, declspecs->decl_attr); in grokdeclarator()
5011 if (declspecs->default_int_p && !in_system_header) in grokdeclarator()
5034 if (bitfield && !flag_signed_bitfields && !declspecs->explicit_signed_p in grokdeclarator()
5050 constp = declspecs->const_p + TYPE_READONLY (element_type); in grokdeclarator()
5051 restrictp = declspecs->restrict_p + TYPE_RESTRICT (element_type); in grokdeclarator()
5052 volatilep = declspecs->volatile_p + TYPE_VOLATILE (element_type); in grokdeclarator()
5053 as1 = declspecs->address_space; in grokdeclarator()
5764 if (declspecs->alignas_p) in grokdeclarator()
5787 else if (declspecs->align_log != -1) in grokdeclarator()
5789 alignas_align = 1U << declspecs->align_log; in grokdeclarator()
5832 if (declspecs->explicit_signed_p) in grokdeclarator()
5834 if (declspecs->inline_p) in grokdeclarator()
5836 if (declspecs->noreturn_p) in grokdeclarator()
5869 && !declspecs->inline_p && !declspecs->noreturn_p); in grokdeclarator()
5964 if (declspecs->inline_p) in grokdeclarator()
5966 if (declspecs->noreturn_p) in grokdeclarator()
5974 && !declspecs->inline_p && !declspecs->noreturn_p); in grokdeclarator()
6022 storage_class = declspecs->storage_class = csc_none; in grokdeclarator()
6048 else if (declspecs->inline_p && storage_class != csc_static) in grokdeclarator()
6063 if (declspecs->default_int_p) in grokdeclarator()
6070 if (declspecs->inline_p) in grokdeclarator()
6072 if (declspecs->noreturn_p) in grokdeclarator()
6077 if (declspecs->inline_p) in grokdeclarator()
6080 if (declspecs->noreturn_p) in grokdeclarator()
6127 if (declspecs->inline_p) in grokdeclarator()
6129 if (declspecs->noreturn_p) in grokdeclarator()
6746 struct c_declarator *declarator, struct c_declspecs *declspecs, in grokfield() argument
6775 tree type = declspecs->type; in grokfield()
6783 || !declspecs->typedef_p)) in grokfield()
6808 value = grokdeclarator (declarator, declspecs, FIELD, false, in grokfield()
7684 start_function (struct c_declspecs *declspecs, struct c_declarator *declarator, in start_function() argument
7702 decl1 = grokdeclarator (declarator, declspecs, FUNCDEF, true, NULL, in start_function()
7723 if (declspecs->inline_p in start_function()
7729 if (declspecs->storage_class != csc_static) in start_function()