OSDN Git Service

fix comment
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Sep 1999 00:01:54 +0000 (00:01 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Sep 1999 00:01:54 +0000 (00:01 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29443 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/typeck.c

index cb024af..33f4d58 100644 (file)
@@ -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);