Home
last modified time | relevance | path

Searched refs:CLASS_TYPE_P (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-12.1/contrib/gcc/cp/
H A Dexcept.c210 if (!CLASS_TYPE_P (type)) in dtor_nothrow()
710 if (CLASS_TYPE_P (temp_type)) in build_throw()
874 else if (CLASS_TYPE_P (type) && CLASSTYPE_PURE_VIRTUALS (type)) in is_admissible_throw_operand()
938 if (CLASS_TYPE_P (to) && CLASS_TYPE_P (from) in can_convert_eh()
H A Dfriend.c173 if (ctx && CLASS_TYPE_P (ctx) && !uses_template_parms (ctx)) in add_friend()
242 if (CLASS_TYPE_P (friend_type) in make_friend_class()
326 || !CLASS_TYPE_P (TREE_TYPE (decl)))) in make_friend_class()
H A Dtree.c160 && CLASS_TYPE_P (TREE_TYPE (ref)) in lvalue_p_1()
330 else if (CLASS_TYPE_P (type) && !TYPE_HAS_TRIVIAL_INIT_REF (type) in build_target_expr_with_type()
398 if (!CLASS_TYPE_P (type) && cp_type_quals (type)) in rvalue()
1094 if (!CLASS_TYPE_P (t)) in no_linkage_check()
1767 if (! CLASS_TYPE_P (t)) in pod_type_p()
1779 return CLASS_TYPE_P (t) && CLASSTYPE_TEMPLATE_INSTANTIATION (t); in class_tmpl_impl_spec_p()
1799 if (CLASS_TYPE_P (t) && CLASSTYPE_NON_ZERO_INIT_P (t)) in zero_init_p()
1825 || !CLASS_TYPE_P (*node) in handle_java_interface_attribute()
1854 || !CLASS_TYPE_P (*node) in handle_com_interface_attribute()
1971 gcc_assert (!CLASS_TYPE_P (type) || new_type == type); in cp_build_type_attribute_variant()
H A Dcall.c880 || (CLASS_TYPE_P (t1) && CLASS_TYPE_P (t2) in reference_related_p()
3169 if (CLASS_TYPE_P (t1) && CLASS_TYPE_P (t2) in conditional_conversion()
3308 && (CLASS_TYPE_P (arg2_type) || CLASS_TYPE_P (arg3_type))) in build_conditional_expr()
3381 && CLASS_TYPE_P (arg2_type) in build_conditional_expr()
3410 && (CLASS_TYPE_P (arg2_type) || CLASS_TYPE_P (arg3_type))) in build_conditional_expr()
3473 if (!CLASS_TYPE_P (arg2_type)) in build_conditional_expr()
3477 if (!CLASS_TYPE_P (arg2_type)) in build_conditional_expr()
3755 if (CLASS_TYPE_P (TREE_TYPE (arg1))) in build_new_op()
4033 if (CLASS_TYPE_P (type) in build_op_delete_call()
4461 && CLASS_TYPE_P (type) in convert_like_real()
[all …]
H A Dsearch.c1375 if (!CLASS_TYPE_P (type)) in lookup_fnfields_1()
1502 && CLASS_TYPE_P (context_class) in adjust_result_of_qualified_name_lookup()
1503 && CLASS_TYPE_P (qualifying_scope) in adjust_result_of_qualified_name_lookup()
1824 else if ((CLASS_TYPE_P (over_return) && CLASS_TYPE_P (base_return)) in check_final_overrider()
1845 if (CLASS_TYPE_P (base_return) && CLASS_TYPE_P (over_return)) in check_final_overrider()
1861 if (CLASS_TYPE_P (over_return)) in check_final_overrider()
H A Dcp-objcp-common.c80 if (CLASS_TYPE_P (type)) in cp_expr_size()
H A Dptree.c96 if (! CLASS_TYPE_P (node)) in cxx_print_type()
H A Drtti.c241 if (CLASS_TYPE_P (type)) in get_tinfo_decl_dynamic()
360 if (CLASS_TYPE_P (type)) in get_tinfo_decl()
388 if (CLASS_TYPE_P (type)) in get_tinfo_decl()
433 if (CLASS_TYPE_P (type)) in get_typeid()
H A Dtypeck.c543 && CLASS_TYPE_P (TREE_TYPE (t1)) in composite_pointer_type()
544 && CLASS_TYPE_P (TREE_TYPE (t2)) in composite_pointer_type()
1819 if (!CLASS_TYPE_P (object_type)) in build_class_member_access_expr()
2167 if (!CLASS_TYPE_P (object_type)) in finish_class_member_access_expr()
2212 gcc_assert (CLASS_TYPE_P (scope)); in finish_class_member_access_expr()
5014 && CLASS_TYPE_P (TREE_TYPE (type)) in build_static_cast_1()
5015 && CLASS_TYPE_P (intype) in build_static_cast_1()
5108 && CLASS_TYPE_P (TREE_TYPE (type)) in build_static_cast_1()
5677 if (!CLASS_TYPE_P (type)) in build_c_cast()
5680 if (!CLASS_TYPE_P (result_type)) in build_c_cast()
[all …]
H A Dname-lookup.c2278 || CLASS_TYPE_P (root))); in is_ancestor()
2280 || CLASS_TYPE_P (child))); in is_ancestor()
2311 else if (CLASS_TYPE_P (t)) in push_scope()
2334 else if CLASS_TYPE_P (t) in pop_scope()
2346 || (TREE_CODE (inner) != NAMESPACE_DECL && !CLASS_TYPE_P (inner))) in push_inner_scope_r()
2406 || (TREE_CODE (inner) != NAMESPACE_DECL && !CLASS_TYPE_P (inner))) in pop_inner_scope()
4364 if (CLASS_TYPE_P (type)) in friend_of_associated_class_p()
4384 if ((CLASS_TYPE_P (type) in friend_of_associated_class_p()
4388 && CLASS_TYPE_P (TYPE_CONTEXT (type)) in friend_of_associated_class_p()
4493 if (!CLASS_TYPE_P (type)) in arg_assoc_class()
H A Dmangle.c312 if (CLASS_TYPE_P (type) && CLASSTYPE_TEMPLATE_ID_P (type)) in decl_is_template_id()
449 else if (CLASS_TYPE_P (node)) in is_std_substitution()
481 else if (CLASS_TYPE_P (node)) in is_std_substitution_char()
593 && CLASS_TYPE_P (type) in find_substitution()
H A Dclass.c2036 && CLASS_TYPE_P (TREE_TYPE (over_return)) in update_vtable_entry_for_fn()
2769 else if (CLASS_TYPE_P (type)) in check_field_decl()
2980 if (CLASS_TYPE_P (type) in check_field_decls()
2993 if (CLASS_TYPE_P (type)) in check_field_decls()
3030 else if (CLASS_TYPE_P (type)) in check_field_decls()
3187 if (CLASS_TYPE_P (type)) in walk_subobject_offsets()
3321 if (!CLASS_TYPE_P (element_type) in walk_subobject_offsets()
4063 gcc_assert (CLASS_TYPE_P (type)); in type_requires_array_cookie()
5673 if (context && CLASS_TYPE_P (context)) in push_nested_class()
5686 if (context && CLASS_TYPE_P (context)) in pop_nested_class()
[all …]
H A Dsemantics.c1261 || (CLASS_TYPE_P (TREE_TYPE (operand)) in finish_asm_stmt()
1528 && CLASS_TYPE_P (object_type) in check_accessibility_of_qualified_id()
1555 && CLASS_TYPE_P (qualifying_type) in check_accessibility_of_qualified_id()
1727 else if (CLASS_TYPE_P (type)) in finish_stmt_expr()
1900 else if (CLASS_TYPE_P (TREE_TYPE (fn))) in finish_call_expr()
3766 if (CLASS_TYPE_P (inner_type) in finish_omp_clauses()
H A Dcp-tree.h894 #define CLASS_TYPE_P(T) \ macro
901 (CLASS_TYPE_P (T) || TREE_CODE (T) == ENUMERAL_TYPE)
1144 (CLASS_TYPE_P (NODE) \
1292 && TYPE_CONTEXT (NODE) && CLASS_TYPE_P (TYPE_CONTEXT (NODE)) \
2466 || (CLASS_TYPE_P (TYPE) && !CLASSTYPE_NON_AGGREGATE (TYPE)))
2699 (CLASS_TYPE_P (NODE) && LANG_TYPE_CLASS_CHECK (NODE)->anon_aggr)
2918 (CLASS_TYPE_P (NODE) \
H A Dpt.c702 if (CLASS_TYPE_P (type) && CLASSTYPE_USE_TEMPLATE (type)) in maybe_process_partial_specialization()
726 else if (CLASS_TYPE_P (type) in maybe_process_partial_specialization()
729 && context && CLASS_TYPE_P (context) in maybe_process_partial_specialization()
802 && CLASS_TYPE_P (DECL_CONTEXT (tmpl)) in optimize_specialization_lookup_p()
3112 && CLASS_TYPE_P (TREE_TYPE (decl))) in push_template_decl_real()
4322 || CLASS_TYPE_P (context)); in mangle_class_name_for_template()
4465 && CLASS_TYPE_P (TREE_TYPE (decl)) in maybe_get_template_decl_from_type_decl()
5673 else if (CLASS_TYPE_P (type) in can_complete_type_without_circularity()
9331 if (object_type && !CLASS_TYPE_P (object_type)) in tsubst_copy_and_build()
9372 && !CLASS_TYPE_P (TREE_OPERAND (member, 0)) in tsubst_copy_and_build()
[all …]
H A Dinit.c183 else if (CLASS_TYPE_P (type)) in build_zero_init()
1739 && CLASS_TYPE_P (elt_type) in build_new_1()
2428 ? (!CLASS_TYPE_P (inner_elt_type) in build_vec_init()
H A Ddecl.c3640 if (CLASS_TYPE_P (type)) in fixup_anonymous_aggr()
4585 gcc_assert (CLASS_TYPE_P (type)); in reshape_init_class()
4757 if (CLASS_TYPE_P (type)) in reshape_init_r()
8402 while (t != NULL_TREE && CLASS_TYPE_P (t)) in grokdeclarator()
8446 || (!friendp && !CLASS_TYPE_P (ctype)) in grokdeclarator()
9744 if (class_type && !CLASS_TYPE_P (class_type)) in grok_op_properties()
10390 && CLASS_TYPE_P (t) in xref_tag()
10478 if (CLASS_TYPE_P (basetype)) in xref_basetypes()
10555 if (CLASS_TYPE_P (basetype) && !dependent_type_p (basetype)) in xref_basetypes()
12186 if ((!COMPLETE_TYPE_P (inner_type) && CLASS_TYPE_P (inner_type)) in maybe_register_incomplete_var()
[all …]
H A Ddecl2.c1551 else if (CLASS_TYPE_P (*tp)) in min_vis_r()
1674 if (CLASS_TYPE_P (TREE_TYPE (decl))) in determine_visibility()
2104 if (CLASS_TYPE_P (type)) in import_export_decl()
H A Dmethod.c854 if (!CLASS_TYPE_P (type)) in synthesize_exception_spec()
H A Dparser.c2041 && !CLASS_TYPE_P (parser->object_scope)) in cp_parser_name_lookup_error()
2259 if (CLASS_TYPE_P (base_type) in cp_parser_diagnose_invalid_type_name()
4083 && !(CLASS_TYPE_P (new_scope) in cp_parser_nested_name_specifier_opt()
12307 && CLASS_TYPE_P (qualifying_scope)) in cp_parser_direct_declarator()
13902 && CLASS_TYPE_P (scope) in cp_parser_class_head()
15551 if (!type || !CLASS_TYPE_P (type)) in cp_parser_lookup_name()
15583 if ((check_dependency || !CLASS_TYPE_P (parser->scope)) in cp_parser_lookup_name()
15638 if (CLASS_TYPE_P (object_type)) in cp_parser_lookup_name()
15786 while (scope && CLASS_TYPE_P (scope)) in cp_parser_check_declarator_template_parameters()
17231 if (!CLASS_TYPE_P (TREE_TYPE (decl))) in cp_parser_check_access_in_redeclaration()
H A Dtypeck2.c246 if (!CLASS_TYPE_P (type)) in abstract_virtuals_error()
H A DChangeLog-1998602 (CLASS_TYPE_P): Tweak.
626 (grokdeclarator): Use CLASS_TYPE_P.
632 * lex.c (note_got_semicolon): Use CLASS_TYPE_P.
636 * method.c (build_overload_identifier): Use CLASS_TYPE_P and
660 * tree.c (make_binfo): Check CLASS_TYPE_P.
2417 * cp-tree.h (CLASS_TYPE_P): Revise definition.
2453 * cp-tree.h (CLASS_TYPE_P): New macro.
H A DChangeLog-19994267 * cp-tree.h (ANON_AGGR_TYPE_P): Use CLASS_TYPE_P.
4856 * class.c (finish_struct_1): Use CLASS_TYPE_P.
/freebsd-12.1/contrib/gcc/config/i386/
H A Dwinnt-cxx.c129 gcc_assert (CLASS_TYPE_P (t)); in i386_pe_adjust_class_at_definition()
/freebsd-12.1/contrib/gcc/doc/
H A Dc-tree.texi387 @item CLASS_TYPE_P

12