Commit c4d6cee3 by Jason Merrill

tweak comment

From-SVN: r30340
parent bf279c4e
......@@ -3456,8 +3456,10 @@ finish_struct_1 (t)
if (DECL_MUTABLE_P (x) || TYPE_HAS_MUTABLE_P (type))
has_mutable = 1;
if (! pod_type_p (type) || TYPE_PTRMEM_P (type)
|| TYPE_PTRMEMFUNC_P (type))
if (! pod_type_p (type)
/* For some reason, pointers to members are POD types themselves,
but are not allowed in POD structs. Silly. */
|| TYPE_PTRMEM_P (type) || TYPE_PTRMEMFUNC_P (type))
non_pod_class = 1;
/* If any field is const, the structure type is pseudo-const. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment