Home
last modified time | relevance | path

Searched refs:expr_type (Results 1 – 9 of 9) sorted by relevance

/openbsd/gnu/gcc/gcc/cp/
H A Dmethod.c593 tree expr_type; in do_build_copy_constructor() local
598 expr_type = TREE_TYPE (field); in do_build_copy_constructor()
604 else if (ANON_AGGR_TYPE_P (expr_type) && TYPE_FIELDS (expr_type)) in do_build_copy_constructor()
615 if (TREE_CODE (expr_type) != REFERENCE_TYPE) in do_build_copy_constructor()
621 expr_type = cp_build_qualified_type (expr_type, quals); in do_build_copy_constructor()
685 tree expr_type; in do_build_assign_ref() local
691 expr_type = TREE_TYPE (field); in do_build_assign_ref()
693 if (CP_TYPE_CONST_P (expr_type)) in do_build_assign_ref()
711 else if (ANON_AGGR_TYPE_P (expr_type) in do_build_assign_ref()
712 && TYPE_FIELDS (expr_type) != NULL_TREE) in do_build_assign_ref()
[all …]
H A Dcvt.c1274 tree expr_type; in perform_qualification_conversions() local
1276 expr_type = TREE_TYPE (expr); in perform_qualification_conversions()
1278 if (same_type_p (type, expr_type)) in perform_qualification_conversions()
1280 else if (TYPE_PTR_P (type) && TYPE_PTR_P (expr_type) in perform_qualification_conversions()
1281 && comp_ptr_ttypes (TREE_TYPE (type), TREE_TYPE (expr_type))) in perform_qualification_conversions()
1284 && TYPE_PTR_TO_MEMBER_P (expr_type) in perform_qualification_conversions()
1286 TYPE_PTRMEM_CLASS_TYPE (expr_type)) in perform_qualification_conversions()
1288 TYPE_PTRMEM_POINTED_TO_TYPE (expr_type))) in perform_qualification_conversions()
H A Dpt.c3551 tree expr_type; in convert_nontype_argument() local
3576 expr_type = TREE_TYPE (expr); in convert_nontype_argument()
3594 gcc_assert (TREE_CODE (expr_type) == REFERENCE_TYPE); in convert_nontype_argument()
3598 (TREE_TYPE (expr_type), in convert_nontype_argument()
3602 expr_type = TREE_TYPE (expr); in convert_nontype_argument()
3618 expr_type = TREE_TYPE (expr); in convert_nontype_argument()
3629 if (!INTEGRAL_TYPE_P (expr_type)) in convert_nontype_argument()
3677 && TREE_CODE (expr_type) != ARRAY_TYPE) in convert_nontype_argument()
3731 expr_type)) in convert_nontype_argument()
3734 if (!at_least_as_qualified_p (TREE_TYPE (type), expr_type)) in convert_nontype_argument()
[all …]
H A Dclass.c525 tree expr_type; in convert_to_base_statically() local
527 expr_type = TREE_TYPE (expr); in convert_to_base_statically()
528 if (!SAME_BINFO_TYPE_P (BINFO_TYPE (base), expr_type)) in convert_to_base_statically()
532 pointer_type = build_pointer_type (expr_type); in convert_to_base_statically()
/openbsd/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp315 const clang::Type *expr_type = expr_qual_type.getTypePtr(); in SynthesizeBodyResult() local
317 if (!expr_type) in SynthesizeBodyResult()
320 if (expr_type->isVoidType()) in SynthesizeBodyResult()
335 if (expr_type->isFunctionType()) in SynthesizeBodyResult()
/openbsd/gnu/usr.bin/gcc/gcc/cp/
H A Dmethod.c598 tree expr_type; local
626 expr_type = TREE_TYPE (field);
627 if (TREE_CODE (expr_type) != REFERENCE_TYPE)
628 expr_type = cp_build_qualified_type (expr_type, cvquals);
629 init = build (COMPONENT_REF, expr_type, init, field);
H A Dpt.c3053 tree expr_type = TREE_TYPE (expr); local
3080 if (INTEGRAL_TYPE_P (expr_type)
3089 else if (TYPE_PTRMEM_P (expr_type)
3090 || TYPE_PTRMEMFUNC_P (expr_type))
3095 else if (TYPE_PTR_P (expr_type)
3096 || TYPE_PTRMEM_P (expr_type)
3117 if (TYPE_PTR_P (expr_type))
3154 || TYPE_PTRMEM_P (expr_type)
3286 expr_type = TREE_TYPE (expr);
3331 expr_type)
[all …]
H A Dsemantics.c206 tree expr_type = NULL_TREE;; local
218 expr_type = TREE_TYPE (expr);
230 last_expr_type = expr_type;
H A Dclass.c413 tree expr_type; in convert_to_base_statically() local
415 expr_type = TREE_TYPE (expr); in convert_to_base_statically()
416 if (!same_type_p (expr_type, BINFO_TYPE (base))) in convert_to_base_statically()
420 pointer_type = build_pointer_type (expr_type); in convert_to_base_statically()