[PATCH] Fix bool expression special case.

Manuel Klimek klimek at google.com
Thu Mar 27 03:30:49 PDT 2014


On Thu, Mar 27, 2014 at 11:24 AM, Daniel Jasper <djasper at google.com> wrote:

>
>
> ================
> Comment at: unittests/Format/FormatTest.cpp:4533
> @@ -4532,1 +4532,3 @@
> +  verifyFormat("template <bool a, bool b> "
> +               "typename t::if<x && y>::type f() {};");
>  }
> ----------------
> Can you add tests for const/volatile after a "*", e.g.
>   vector<int * const>
>

Done. Also added a test for template parameters (template <int *p>) and
made it pass...


>
>
> http://llvm-reviews.chandlerc.com/D3187
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140327/d386dce0/attachment.html>


More information about the cfe-commits mailing list