[PATCH] Unified type trait parsing

Richard Smith richard at metafoo.co.uk
Thu Dec 12 12:13:46 PST 2013


Looks great, thanks!


On Wed, Dec 11, 2013 at 10:39 PM, Alp Toker <alp at nuanti.com> wrote:

> Hi,
>
> Type trait parsing is all over the place at the moment with unary, binary
> and n-ary C++11 type traits having been developed independently through
> different points in clang's history.
>
> There's no good reason to handle them separately -- there are three
> parsers, three AST nodes and lots of duplicated handling code with slightly
> different implementations and diags for each kind.
>
> The attached patch unifies parsing of type traits and sets the stage for
> further consolidation.
>
> No change in behaviour other than slightly more consistent error recovery.
>
>  9 files changed, 141 insertions(+), 330 deletions(-)
>
> Alp.
>
>
> --
> http://www.nuanti.com
> the browser experts
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131212/9c2f624b/attachment.html>


More information about the cfe-commits mailing list