Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dtypeck.c580 if (null_ptr_cst_p (arg1)) in composite_pointer_type()
582 if (null_ptr_cst_p (arg2)) in composite_pointer_type()
4618 (null_ptr_cst_p (orig_op0) && null_ptr_cst_p (orig_op1) in cp_build_binary_op()
4621 || (!null_ptr_cst_p (orig_op0) in cp_build_binary_op()
4623 || (!null_ptr_cst_p (orig_op1) in cp_build_binary_op()
5030 && null_ptr_cst_p (orig_op1)) in cp_build_binary_op()
5054 && null_ptr_cst_p (orig_op0)) in cp_build_binary_op()
5082 else if (null_ptr_cst_p (orig_op0) && null_ptr_cst_p (orig_op1)) in cp_build_binary_op()
5103 else if (TYPE_PTRMEMFUNC_P (type0) && null_ptr_cst_p (orig_op1)) in cp_build_binary_op()
5144 else if (TYPE_PTRMEMFUNC_P (type1) && null_ptr_cst_p (orig_op0)) in cp_build_binary_op()
[all …]
H A Dcvt.c206 if (null_ptr_cst_p (expr)) in cp_convert_to_pointer()
733 if (NULLPTR_TYPE_P (type) && null_ptr_cst_p (e)) in ocp_convert()
1761 if ((desires & WANT_NULL) && null_ptr_cst_p (expr)) in build_expr_type_conversion()
H A Dcall.c539 null_ptr_cst_p (tree t) in null_ptr_cst_p() function
1301 && ((expr && null_ptr_cst_p (expr)) in standard_conversion()
2855 if (TYPE_PTRMEM_P (type1) && null_ptr_cst_p (args[1])) in add_builtin_candidate()
2860 if (TYPE_PTRMEM_P (type2) && null_ptr_cst_p (args[0])) in add_builtin_candidate()
2880 && null_ptr_cst_p (args[1])) in add_builtin_candidate()
2885 if (null_ptr_cst_p (args[0]) in add_builtin_candidate()
3002 && null_ptr_cst_p (args[1]))) in add_builtin_candidate()
5649 else if ((null_ptr_cst_p (arg2) in build_conditional_expr_1()
5651 || (null_ptr_cst_p (arg3) in build_conditional_expr_1()
7223 && null_ptr_cst_p (expr)) in conversion_null_warnings()
H A Dcp-tree.h6290 extern bool null_ptr_cst_p (tree);
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dtypeck.cc606 if (null_ptr_cst_p (arg1)) in composite_pointer_type()
608 if (null_ptr_cst_p (arg2)) in composite_pointer_type()
5055 (null_ptr_cst_p (orig_op0) && null_ptr_cst_p (orig_op1) in cp_build_binary_op()
5058 || (!null_ptr_cst_p (orig_op0) in cp_build_binary_op()
5060 || (!null_ptr_cst_p (orig_op1) in cp_build_binary_op()
5478 && null_ptr_cst_p (orig_op1)) in cp_build_binary_op()
5502 && null_ptr_cst_p (orig_op0)) in cp_build_binary_op()
5530 else if (null_ptr_cst_p (orig_op0) && null_ptr_cst_p (orig_op1)) in cp_build_binary_op()
5551 else if (TYPE_PTRMEMFUNC_P (type0) && null_ptr_cst_p (orig_op1)) in cp_build_binary_op()
5594 else if (TYPE_PTRMEMFUNC_P (type1) && null_ptr_cst_p (orig_op0)) in cp_build_binary_op()
[all …]
H A Dcvt.cc206 if (null_ptr_cst_p (expr)) in cp_convert_to_pointer()
738 if (NULLPTR_TYPE_P (type) && null_ptr_cst_p (e)) in ocp_convert()
1780 if ((desires & WANT_NULL) && null_ptr_cst_p (expr)) in build_expr_type_conversion()
H A Dcall.cc536 null_ptr_cst_p (tree t) in null_ptr_cst_p() function
1313 && ((expr && null_ptr_cst_p (expr)) in standard_conversion()
2925 if (TYPE_PTRMEM_P (type1) && null_ptr_cst_p (args[1])) in add_builtin_candidate()
2930 if (TYPE_PTRMEM_P (type2) && null_ptr_cst_p (args[0])) in add_builtin_candidate()
2950 && null_ptr_cst_p (args[1])) in add_builtin_candidate()
2955 if (null_ptr_cst_p (args[0]) in add_builtin_candidate()
3072 && null_ptr_cst_p (args[1]))) in add_builtin_candidate()
5903 else if ((null_ptr_cst_p (arg2) in build_conditional_expr()
5905 || (null_ptr_cst_p (arg3) in build_conditional_expr()
7733 && null_ptr_cst_p (expr)) in conversion_null_warnings()
H A DChangeLog-19971032 * call.c (null_ptr_cst_p): Integer type, not integral type.
1343 * call.c (null_ptr_cst_p): Remove support for (void*)0.
2379 * cp-tree.h (build_call, null_ptr_cst_p, in_function_p,
H A DChangeLog-20132264 * call.c (null_ptr_cst_p): Use cxx11 in lieu of cxx0x.
2690 * call.c (null_ptr_cst_p): Revert earlier change.
2695 * call.c (null_ptr_cst_p): An expression with side-effects can't
2997 * call.c (null_ptr_cst_p): Call fold_non_dependent_expr_sfinae before
H A DChangeLog-19961012 * call.c (null_ptr_cst_p): Adjust.
1199 (null_ptr_cst_p): Check for null_pointer_node; only accept (void*)0
1201 * call.c (convert_harshness): Use null_ptr_cst_p.
3755 * typeck.c (null_ptr_cst_p): Delete unused fn.
H A DChangeLog-2010681 * call.c (null_ptr_cst_p): Use maybe_constant_value.
2483 * cvt.c (cp_convert_to_pointer): Use null_ptr_cst_p.
3156 * call.c (null_ptr_cst_p): Handle nullptr.
H A DChangeLog-2011393 * call.c (null_ptr_cst_p): STRIP_NOPS in c++11 mode too.
1897 * call.c (null_ptr_cst_p): Only 0 qualifies in C++11.
3438 * pt.c (build_non_dependent_expr): Don't check null_ptr_cst_p,
H A DChangeLog-20061911 * call.c (null_ptr_cst_p): Robustify.
2297 * call.c (null_ptr_cst_p): Add explicit TREE_CONSTANT_OVERFLOW check.
H A DChangeLog-20071662 to null_ptr_cst_p.
3197 * call.c (null_ptr_cst_p): Replace use of TREE_CONSTANT_OVERFLOW with
H A DChangeLog-20161091 null_ptr_cst_p, not those after the default conversions.
1227 * call.c (null_ptr_cst_p): Check char_type_p.
H A DChangeLog-20183137 null_ptr_cst_p expr converted to a NULLPTR_TYPE_P type.
5330 * call.c (null_ptr_cst_p): Strip location wrappers when
H A DChangeLog-2012814 * call.c (null_ptr_cst_p): Call maybe_constant_value for C++98.
H A DChangeLog-2004186 * call.c (null_ptr_cst_p): Use integral_constant_value, not
3072 * call.c (null_ptr_cst_p): Handle variables with constant
H A DChangeLog-20192860 * call.c (null_ptr_cst_p): Update quote from the standard.
4209 * call.c (null_ptr_cst_p): Order checks according to expensiveness.
H A DChangeLog-19994147 (null_ptr_cst_p): Allow `false' as a NULL pointer constant.
4165 (build_binary_op_nodefault): Use null_ptr_cst_p.
H A Dcp-tree.h6536 extern bool null_ptr_cst_p (tree);
H A DChangeLog-2014572 * call.c (null_ptr_cst_p): Use it.
H A DChangeLog-19982532 null_ptr_cst_p instead of expanding it inline.
6378 (null_ptr_cst_p): Add parentheses around && within ||.
H A DChangeLog-20151846 * call.c (null_ptr_cst_p): In C++11 return 'false' for 'false'.
H A DChangeLog-2002470 build_addr_func, build_call, build_method_call, null_ptr_cst_p,

12