fix comment
authorJason Merrill <jason@gcc.gnu.org>
Thu, 16 Sep 1999 00:01:54 +0000 (20:01 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 16 Sep 1999 00:01:54 +0000 (20:01 -0400)
From-SVN: r29443

gcc/cp/typeck.c

index cb024afd091fd61af492caacc6460c5cd2e62f43..33f4d58caa3e58904b0e2575a46f49a7920e3048 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);