[cfe-commits] PATCH [1/2]: Implementation of Embarcadero expression traits

Abramo Bagnara abramo.bagnara at gmail.com
Sat Feb 19 00:41:29 PST 2011


Il 18/02/2011 23:53, John Wiegley ha scritto:
> Patch authored by David Abrahams.
> 
> These two expression traits (__is_lvalue_expr, __is_rvalue_expr) are used for
> parsing code that employs certain features of the Embarcadero C++ compiler.

I don't see the point for introducing another AST node
(ExpressionTraitExpr): __is_lvalue_expr/__is_rvalue_expr are
conceptually equivalent to e.g. __builtin_constant_p.

I think they should be implemented in the same way.

I'm missing something?



More information about the cfe-commits mailing list