Lines Matching refs:declspecs
4122 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()
4147 || TREE_CODE (declspecs->type) == ENUMERAL_TYPE)) in check_tag_decl()
4148 declared_type = declspecs->type; in check_tag_decl()
4149 else if (declspecs->type == error_mark_node) in check_tag_decl()
4193 if (declspecs->specs[(int)ds_inline] in check_tag_decl()
4194 || declspecs->specs[(int)ds_virtual]) in check_tag_decl()
4196 declspecs->specs[(int)ds_inline] in check_tag_decl()
4202 else if (declspecs->specs[(int)ds_explicit]) in check_tag_decl()
4204 else if (declspecs->storage_class) in check_tag_decl()
4207 else if (declspecs->specs[(int)ds_const] in check_tag_decl()
4208 || declspecs->specs[(int)ds_volatile] in check_tag_decl()
4209 || declspecs->specs[(int)ds_restrict] in check_tag_decl()
4210 || declspecs->specs[(int)ds_thread]) in check_tag_decl()
4215 else if (declspecs->specs[(int) ds_constexpr]) in check_tag_decl()
4219 if (declspecs->attributes && declared_type) in check_tag_decl()
4250 shadow_tag (cp_decl_specifier_seq *declspecs) in shadow_tag() argument
4252 tree t = check_tag_decl (declspecs); in shadow_tag()
4272 declspecs, NORMAL, 0, NULL); in shadow_tag()
4330 cp_decl_specifier_seq *declspecs, in start_decl() argument
4351 decl = grokdeclarator (declarator, declspecs, NORMAL, initialized, in start_decl()
4464 if (declspecs->specs[(int) ds_constexpr] in start_decl()
7598 const cp_decl_specifier_seq *declspecs, in grokvardecl() argument
7615 if (declspecs->storage_class == sc_extern) in grokvardecl()
7640 if (declspecs->storage_class == sc_extern) in grokvardecl()
7657 TREE_PUBLIC (decl) = (declspecs->storage_class != sc_static in grokvardecl()
7664 TREE_STATIC (decl) = declspecs->storage_class == sc_static; in grokvardecl()
7668 if (declspecs->specs[(int)ds_thread]) in grokvardecl()
8373 const cp_decl_specifier_seq *declspecs, in grokdeclarator() argument
8439 bool constexpr_p = declspecs->specs[(int) ds_constexpr]; in grokdeclarator()
8442 signed_p = declspecs->specs[(int)ds_signed]; in grokdeclarator()
8443 unsigned_p = declspecs->specs[(int)ds_unsigned]; in grokdeclarator()
8444 short_p = declspecs->specs[(int)ds_short]; in grokdeclarator()
8445 long_p = declspecs->specs[(int)ds_long]; in grokdeclarator()
8446 longlong = declspecs->specs[(int)ds_long] >= 2; in grokdeclarator()
8447 explicit_int128 = declspecs->explicit_int128_p; in grokdeclarator()
8448 thread_p = declspecs->specs[(int)ds_thread]; in grokdeclarator()
8632 && ! (ctype && !declspecs->any_specifiers_p)) in grokdeclarator()
8649 if (declspecs->specs[(int)ds_typedef]) in grokdeclarator()
8687 if (constexpr_p && declspecs->specs[(int)ds_typedef]) in grokdeclarator()
8695 if (declspecs->multiple_types_p) in grokdeclarator()
8701 if (declspecs->conflicting_specifiers_p) in grokdeclarator()
8708 type = declspecs->type; in grokdeclarator()
8737 explicit_int = declspecs->explicit_int_p; in grokdeclarator()
8738 explicit_char = declspecs->explicit_char_p; in grokdeclarator()
8913 if (declspecs->specs[(int)ds_complex]) in grokdeclarator()
8937 if (declspecs->specs[(int)ds_const]) in grokdeclarator()
8939 if (declspecs->specs[(int)ds_volatile]) in grokdeclarator()
8941 if (declspecs->specs[(int)ds_restrict]) in grokdeclarator()
8955 inlinep = !! declspecs->specs[(int)ds_inline]; in grokdeclarator()
8956 virtualp = !! declspecs->specs[(int)ds_virtual]; in grokdeclarator()
8957 explicitp = !! declspecs->specs[(int)ds_explicit]; in grokdeclarator()
8959 storage_class = declspecs->storage_class; in grokdeclarator()
8969 friendp = !! declspecs->specs[(int)ds_friend]; in grokdeclarator()
8980 if (declspecs->specs[(int)ds_typedef]) in grokdeclarator()
9014 && declspecs->type in grokdeclarator()
9015 && ANON_AGGR_TYPE_P (declspecs->type)) in grokdeclarator()
9024 || declspecs->specs[(int)ds_typedef])) in grokdeclarator()
9038 else if (declspecs->specs[(int)ds_typedef]) in grokdeclarator()
9626 else if (declspecs->specs[(int)ds_typedef] in grokdeclarator()
9697 else if (decl_context == TYPENAME || declspecs->specs[(int)ds_typedef]) in grokdeclarator()
9727 if (declspecs->specs[(int)ds_typedef] && decl_context != TYPENAME) in grokdeclarator()
9796 && declspecs->type_definition_p in grokdeclarator()
9838 if (declspecs->specs[(int)ds_alias]) in grokdeclarator()
10200 && declspecs->type in grokdeclarator()
10201 && declspecs->type == type) in grokdeclarator()
10297 if (declspecs->storage_class == sc_static) in grokdeclarator()
10335 || declspecs->specs[(int)ds_inline]) in grokdeclarator()
10412 declspecs, in grokdeclarator()
13043 start_function (cp_decl_specifier_seq *declspecs, in start_function() argument
13049 decl1 = grokdeclarator (declarator, declspecs, FUNCDEF, 1, &attrs); in start_function()
13677 grokmethod (cp_decl_specifier_seq *declspecs, in grokmethod() argument
13680 tree fndecl = grokdeclarator (declarator, declspecs, MEMFUNCDEF, 0, in grokmethod()