call.c (convert_arg_to_ellipsis): Use pod_type_p.
authorNathan Sidwell <nathan@acm.org>
Tue, 3 Aug 1999 15:04:49 +0000 (15:04 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 3 Aug 1999 15:04:49 +0000 (15:04 +0000)
commit52fb276947febba5f17dbb30ad2ce2a818f714f6
treeea01d0c326ebc211b3750d68cadb0c3e78b38bdc
parent4a30151d102fe111f5de787992494970248ae246
call.c (convert_arg_to_ellipsis): Use pod_type_p.

        * call.c (convert_arg_to_ellipsis): Use pod_type_p.
        * cp-tree.h (struct lang_type): Added non_pod_class flag.
        (CLASSTYPE_NON_POD_P): New macro to access it.
        * class.c (finish_struct_1): Determine non-PODness.
        Check for arrays of pointers (-Weffc++).
        Remove array inspection duplicated code.
        * tree.c (pod_type_p): Detect non-pod non-aggregate types.
        Use CLASSTYPE_NON_POD_P.

From-SVN: r28475
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/tree.c