[PATCH] Eliminate BinaryTypeTraitExpr

Alp Toker alp at nuanti.com
Fri Dec 13 06:58:55 PST 2013


Forgot to mention, this is built on top of the MSVC 2013 type trait 
support patch which has yet to land. Delta should be small though.

Alp.

On 13/12/2013 14:56, Alp Toker wrote:
> There's nothing special about type traits accepting two arguments.
>
> The attached patch eliminates BinaryTypeTraitExpr and switches all 
> related handling over to TypeTraitExpr.
>
> Also fixes a CodeGen failure with variadic type traits appearing in a 
> non-constant expression.
>
> The BTT/TT prefix distinction is retained for the time being.
>
> This is part of the ongoing work to unify type traits.
>
>  26 files changed, 62 insertions(+), 289 deletions(-)
>
> Alp.
>

-- 
http://www.nuanti.com
the browser experts




More information about the cfe-commits mailing list