Commit d4c2d8af by Jason Merrill

fix comment

From-SVN: r29443
parent 01fba8d9
......@@ -1611,9 +1611,8 @@ expr_sizeof (e)
return size_int (1);
}
/* It's illegal to say `sizeof (X::i)' for `i' a non-static data
member unless you're in a non-static member of X. But, we used
to support this usage, so we still permit it unless we're being
pedantic. [expr.prim] */
member unless you're in a non-static member of X. So hand off to
resolve_offset_ref. [expr.prim] */
else if (TREE_CODE (e) == OFFSET_REF)
e = resolve_offset_ref (e);
......
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