cp-tree.def (OFFSETOF_EXPR): New.
authorRichard Henderson <rth@redhat.com>
Fri, 27 Aug 2004 21:48:12 +0000 (14:48 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 27 Aug 2004 21:48:12 +0000 (14:48 -0700)
commit42c244d8479bf2900995626586b8ec25b9b3eb5a
treef506b144421d7b9eb085b0ca871f275af2238424
parenta2fddff9be09cf004aa687e489d7ae04f237a901
cp-tree.def (OFFSETOF_EXPR): New.

        * cp-tree.def (OFFSETOF_EXPR): New.
        * parser.c (cp_parser_builtin_offsetof): Either built an
        OFFSETOF_EXPR, or call fold_offsetof immediately.
        * pt.c (tsubst_expr): Handle OFFSETOF_EXPR.

From-SVN: r86679
gcc/cp/ChangeLog
gcc/cp/cp-tree.def
gcc/cp/parser.c
gcc/cp/pt.c