Lines Matching defs:type_decl

5000 	tree type_decl;
5100 type_decl = NULL_TREE;
5104 type_decl = cp_parser_class_name (parser,
5121 type_decl
5139 type_decl
5158 type_decl
5171 type_decl = cp_parser_identifier (parser);
5172 if (type_decl != error_mark_node)
5173 type_decl = build_nt (BIT_NOT_EXPR, type_decl);
5174 return type_decl;
5181 if (type_decl == error_mark_node && scope)
5183 else if (type_decl == error_mark_node)
5187 if (declarator_p && scope && !check_dtor_name (scope, type_decl))
5192 type_decl, scope);
5202 && !DECL_IMPLICIT_TYPEDEF_P (type_decl)
5203 && !DECL_SELF_REFERENCE_P (type_decl)
5207 type_decl);
5209 return build_nt (BIT_NOT_EXPR, TREE_TYPE (type_decl));
15210 tree type_decl;
15215 type_decl = cp_parser_class_name (parser,
15232 type_decl = cp_parser_template_id (parser,
15247 if (type_decl != NULL_TREE
15248 && TREE_CODE (type_decl) == TYPE_DECL
15249 && TYPE_DECL_ALIAS_P (type_decl))
15250 gcc_assert (DECL_TEMPLATE_INSTANTIATION (type_decl));
15259 return type_decl;
15275 tree type_decl;
15284 type_decl = cp_parser_lookup_name_simple (parser, identifier, token->location);
15286 type_decl = strip_using_decl (type_decl);
15288 if (TREE_CODE (type_decl) != TYPE_DECL
15295 type_decl = TYPE_NAME (type);
15299 if (TREE_CODE (type_decl) != TYPE_DECL
15306 || (objc_is_class_name (TREE_TYPE (type_decl))
15310 cp_parser_name_lookup_error (parser, identifier, type_decl,
15318 else if (type_decl != error_mark_node
15320 maybe_note_name_used_in_class (identifier, type_decl);
15322 return type_decl;
23283 tree type_decl;
23284 type_decl = cp_parser_class_name (parser,
23298 || type_decl == error_mark_node
23300 TREE_TYPE (type_decl))));
23334 type = TREE_TYPE (type_decl);