Home
last modified time | relevance | path

Searched refs:TYPE_P (Results 1 – 25 of 81) sorted by relevance

1234

/openbsd-src/gnu/gcc/gcc/cp/
H A Dmangle.c254 && ((TYPE_P (TREE_PURPOSE (NODE1)) \
363 if (TYPE_P (el) && in dump_substitution_candidates()
386 if (TYPE_P (node)) in canonicalize_for_substitution()
420 gcc_assert (!(TYPE_P (node) && TYPE_P (candidate) in add_substitution()
544 decl = TYPE_P (node) ? TYPE_NAME (node) : node; in find_substitution()
545 type = TYPE_P (node) ? node : TREE_TYPE (node); in find_substitution()
559 if (TYPE_P (node)) in find_substitution()
591 if (TYPE_P (node) in find_substitution()
601 && TYPE_P (TREE_VEC_ELT (args, 0)) in find_substitution()
642 || (TYPE_P (candidate) && type && TYPE_P (type) in find_substitution()
[all …]
H A Dcxx-pretty-print.c222 && TYPE_P (scope) && dependent_type_p (scope)) in pp_cxx_template_keyword_if_needed()
235 tree scope = TYPE_P (t) ? TYPE_CONTEXT (t) : DECL_CONTEXT (t); in pp_cxx_nested_name_specifier()
283 tree scope = TYPE_P (t) ? TYPE_CONTEXT (t) : DECL_CONTEXT (t); in pp_cxx_qualified_id()
507 if (TYPE_P (t)) in pp_cxx_postfix_expression()
657 if (TYPE_P (TREE_OPERAND (t, 0))) in pp_cxx_unary_expression()
710 if (TYPE_P (TREE_OPERAND (t, 0))) in pp_cxx_pm_expression()
1140 if (!TYPE_P (t) && TREE_CODE (t) != TYPE_DECL) in pp_cxx_ptr_operator()
1201 if (TYPE_P (t)) in pp_cxx_parameter_declaration()
1218 tree args = TYPE_P (t) ? NULL : FUNCTION_FIRST_USER_PARM (t); in pp_cxx_parameter_declaration_clause()
1220 TYPE_P (t) ? TYPE_ARG_TYPES (t) : FUNCTION_FIRST_USER_PARMTYPE (t); in pp_cxx_parameter_declaration_clause()
[all …]
H A Dsearch.c203 gcc_assert (TYPE_P (base)); in lookup_base()
205 if (!TYPE_P (t)) in lookup_base()
548 return cs && TYPE_P (cs); in at_class_scope_p()
573 while (context && TYPE_P (context) && ANON_AGGR_TYPE_P (context)) in context_for_name_lookup()
786 else if (TYPE_P (scope)) in friend_accessible_p()
797 if (TYPE_P (scope)) in friend_accessible_p()
798 for (t = TYPE_CONTEXT (scope); t && TYPE_P (t); t = TYPE_CONTEXT (t)) in friend_accessible_p()
864 if (!TYPE_P (context_for_name_lookup (decl))) in accessible_p()
883 if (!TYPE_P (type)) in accessible_p()
1162 gcc_assert (!optype || TYPE_P (optype)); in build_baselink()
H A Dsemantics.c1487 if (!TYPE_P (scope)) in check_accessibility_of_qualified_id()
1548 gcc_assert (TYPE_P (qualifying_class)); in finish_qualified_id_expr()
1772 gcc_assert (!TYPE_P (fn)); in finish_call_expr()
1940 gcc_assert (TYPE_P (destructor)); in finish_pseudo_destructor_expr()
1949 if (scope && TYPE_P (scope) && !check_dtor_name (scope, destructor)) in finish_pseudo_destructor_expr()
2395 else if (TYPE_P (scope)) in qualified_name_lookup_error()
2509 && (!TYPE_P (scope) in finish_id_expression()
2701 if (TYPE_P (scope)) in finish_id_expression()
2811 if (processing_template_decl && TYPE_P (scope)) in finish_id_expression()
2942 if (TYPE_P (*tp)) in simplify_aggr_init_exprs_r()
[all …]
H A Dtree.c1017 if (TYPE_P (*tp)) in count_trees_r()
1195 if (!TYPE_P (t) && TREE_CONSTANT (t)) in bot_manip()
1327 if (x && !TYPE_P (x) && TREE_SIDE_EFFECTS (x)) in build_min()
1374 if (TYPE_P (t)) in get_type_decl()
1390 else if (TYPE_P (decl)) in decl_namespace_context()
1412 else if (TYPE_P (decl)) in decl_anon_ns_mem_p()
1579 if (TYPE_P (o1)) in cp_tree_equal()
1676 return (ctx && TYPE_P (ctx)); in member_p()
H A Dpt.c2771 !TYPE_P (arg) in process_partial_specialization()
3993 is_type = TYPE_P (arg) || is_tmpl_type; in convert_template_argument()
4090 if (TYPE_P (val)) in convert_template_argument()
4237 else if (TYPE_P (nt)) in template_args_equal()
4238 return TYPE_P (ot) && same_type_p (ot, nt); in template_args_equal()
4239 else if (TREE_CODE (ot) == TREE_VEC || TYPE_P (ot)) in template_args_equal()
4388 tree ti = (TYPE_P (d) in add_pending_template()
4540 || (TYPE_P (d1) && IS_AGGR_TYPE (d1))) in lookup_template_class()
4737 ctx = (TYPE_P (ctx) in lookup_template_class()
4740 if (TYPE_P (ctx) && same_type_p (ctx, template_type)) in lookup_template_class()
[all …]
H A Derror.c139 if (TYPE_P (arg) || TREE_CODE (arg) == TEMPLATE_DECL) in dump_template_argument()
744 gcc_assert (TYPE_P (DECL_CONTEXT (t))); in dump_decl()
1818 if (TYPE_P (TREE_OPERAND (t, 0))) in dump_expr()
1995 else if (TYPE_P (t)) in location_of()
2125 if (TYPE_P (TREE_VALUE (p))) in args_to_string()
H A Dparser.c905 if (qualifying_scope && TYPE_P (qualifying_scope)) in make_id_declarator()
2132 if (TYPE_P (type)) in cp_parser_check_for_invalid_template_id()
2249 else if (TYPE_P (parser->scope)) in cp_parser_diagnose_invalid_type_name()
2283 || (parser->scope && TYPE_P (parser->scope) in cp_parser_parse_and_diagnose_invalid_type_name()
3537 gcc_assert (!scope || TYPE_P (scope)); in cp_parser_unqualified_id()
3896 pedwarn (TYPE_P (new_scope) in cp_parser_nested_name_specifier_opt()
3902 if (TYPE_P (new_scope) in cp_parser_nested_name_specifier_opt()
4014 only_class_p = template_keyword_p || (saved_scope && TYPE_P (saved_scope)); in cp_parser_class_or_namespace_name()
5010 if (TYPE_P (operand)) in cp_parser_unary_expression()
9074 && parser->scope && TYPE_P (parser->scope) in cp_parser_template_name()
[all …]
H A Dname-lookup.c2026 if (TYPE_P (scope)) in validate_nonmember_using_decl()
2265 if (TYPE_P (child)) in is_ancestor()
2656 if (TYPE_P (scope) && same_type_p (scope, current_class_type)) in push_class_level_binding()
2775 if (!scope || !TYPE_P (scope)) in do_class_using_decl()
4301 if (TYPE_P (arg)) in friend_of_associated_class_p()
4421 else if (TYPE_P (arg)) in arg_assoc_template_arg()
4577 if (TYPE_P (n)) in arg_assoc()
4841 else if (cs != NULL_TREE && TYPE_P (cs)) in pushtag()
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A Dmangle.c231 && ((TYPE_P (TREE_PURPOSE (NODE1)) \
306 if (TYPE_P (el) && in dump_substitution_candidates()
330 if (TYPE_P (node))
365 || (TYPE_P (node)
366 && TYPE_P (candidate)
494 decl = TYPE_P (node) ? TYPE_NAME (node) : node;
495 type = TYPE_P (node) ? node : TREE_TYPE (node);
509 if (TYPE_P (node))
541 if (TYPE_P (node)
592 || (TYPE_P (candidate) && type && TYPE_P (type)
[all …]
H A Drepo.c97 if (TYPE_P (t))
132 if (TYPE_P (t))
H A Dsearch.c305 my_friendly_assert (TYPE_P (base), 20011127);
307 if (!TYPE_P (t))
608 return cs && TYPE_P (cs); in at_class_scope_p()
625 while (context && TYPE_P (context) && ANON_AGGR_TYPE_P (context))
957 else if (TYPE_P (scope))
968 if (TYPE_P (scope))
969 for (t = TYPE_CONTEXT (scope); t && TYPE_P (t); t = TYPE_CONTEXT (t))
1052 if (!TYPE_P (context_for_name_lookup (decl)))
1055 if (!TYPE_P (type))
1431 my_friendly_assert (!optype || TYPE_P (optype), 20020730); in build_baselink()
H A Dpt.c214 if (context && TYPE_P (context))
771 tree context = TYPE_P (type) ? TYPE_CONTEXT (type) : NULL_TREE;
2451 !TYPE_P (arg)
3537 is_type = TYPE_P (arg) || is_tmpl_type;
3808 else if (TYPE_P (nt))
3809 return TYPE_P (ot) && same_type_p (ot, nt);
3810 else if (TREE_CODE (ot) == TREE_VEC || TYPE_P (ot))
3965 tree ti = (TYPE_P (d)
4134 || (TYPE_P (d1) && IS_AGGR_TYPE (d1)))
4331 ctx = (TYPE_P (ctx)) ? TYPE_CONTEXT (ctx) : DECL_CONTEXT (ctx))
[all …]
H A Ddecl2.c3290 if (!TYPE_P (r))
3492 if (TYPE_P (TREE_OPERAND (t, 0)))
3695 if (TYPE_P (child)) in is_ancestor()
4031 if (TYPE_P (decl))
4038 if (TYPE_P (decl))
4226 else if (TYPE_P (arg))
4367 if (TYPE_P (n))
4510 if (TYPE_P (*scope))
4742 || !TYPE_P (TREE_OPERAND (decl, 0)))
4931 if (TYPE_P (scope))
H A Dsemantics.c2136 return TYPE_P (t) ? cxx_sizeof (t) : expr_sizeof (t);
2149 return TYPE_P (t) ? cxx_alignof (t) : c_alignof_expr (t);
2209 if (TYPE_P (aggr_init_expr))
2453 if (TYPE_P (*tp))
H A Dtree.c1246 if (TYPE_P (t)
1510 if (TYPE_P (t))
1549 else if (TYPE_P (decl))
1678 if (TYPE_P (TREE_OPERAND (t1, 0)))
1802 return (ctx && TYPE_P (ctx));
H A Dfriend.c96 context && TYPE_P (context);
H A Derror.c206 if (TYPE_P (arg) || TREE_CODE (arg) == TEMPLATE_DECL)
872 my_friendly_assert (TYPE_P (DECL_CONTEXT (t)), 20010720);
2020 if (TYPE_P (TREE_OPERAND (t, 0)))
2212 else if (TYPE_P (t))
2231 if (TYPE_P (t))
2398 if (TYPE_P (TREE_VALUE (p)))
/openbsd-src/gnu/gcc/gcc/
H A Dtree-browser.c256 if (head && TYPE_P (head)) in browse_tree()
263 if (head && TYPE_P (head)) in browse_tree()
356 else if (head && TYPE_P (head)) in browse_tree()
365 else if (head && TYPE_P (head) in browse_tree()
389 else if (head && TYPE_P (head)) in browse_tree()
398 else if (head && TYPE_P (head)) in browse_tree()
H A Dprint-tree.c273 if (!TYPE_P (node) && TREE_SIDE_EFFECTS (node)) in print_node()
276 if (TYPE_P (node) ? TYPE_READONLY (node) : TREE_READONLY (node)) in print_node()
278 if (!TYPE_P (node) && TREE_CONSTANT (node)) in print_node()
280 else if (TYPE_P (node) && TYPE_SIZES_GIMPLIFIED (node)) in print_node()
294 fputs (TYPE_P (node) ? " align-ok" : " nothrow", file); in print_node()
H A Dc-semantics.c134 if (t && !TYPE_P (t)) in build_stmt()
H A Dc-objc-common.c199 gcc_assert (TYPE_P (t)); in c_tree_printer()
H A Dtree-nrv.c81 if (TYPE_P (*tp)) in finalize_nrv_r()
H A Dattribs.c253 if (TYPE_P (*anode) in decl_attributes()
H A Ddbxout.c2406 if (TYPE_P (lhs)) in output_types_sort()
2408 if (TYPE_P (rhs)) in output_types_sort()
2415 if (TYPE_P (rhs)) in output_types_sort()
3052 && (TYPE_P (DECL_CONTEXT (decl)) in dbxout_symbol_name()

1234