[cfe-commits] r46917 - in /cfe/trunk: AST/Expr.cpp test/Sema/deref.c

Eli Friedman eli.friedman at gmail.com
Sat Feb 9 16:58:19 PST 2008


On Feb 9, 2008 4:30 PM, Steve Naroff <snaroff at apple.com> wrote:
> Neil, can you point me to the place in the C99 spec that says this is allowed? I thought Expr::isLvalue() conformed to the spec, which says "C99 6.3.2.1: an lvalue is an expression with an object type or an incomplete type other than void.". Please advise.

"const void" is an incomplete type other than void.  (Lovely spec, isn't it.)

-Eli



More information about the cfe-commits mailing list