r212452 - Increase argument limit of anyOf, allOf and eachOf from 5 to 9.

David Blaikie dblaikie at gmail.com
Mon Jul 7 14:25:29 PDT 2014


On Mon, Jul 7, 2014 at 6:09 AM, Aaron Ballman <aaron at aaronballman.com> wrote:
> On Mon, Jul 7, 2014 at 9:07 AM, Manuel Klimek <klimek at google.com> wrote:
>> On Mon, Jul 7, 2014 at 3:06 PM, Aaron Ballman <aaron at aaronballman.com>
>> wrote:
>>>
>>> On Mon, Jul 7, 2014 at 8:55 AM, Manuel Klimek <klimek at google.com> wrote:
>>> > Author: klimek
>>> > Date: Mon Jul  7 07:55:16 2014
>>> > New Revision: 212452
>>> >
>>> > URL: http://llvm.org/viewvc/llvm-project?rev=212452&view=rev
>>> > Log:
>>> > Increase argument limit of anyOf, allOf and eachOf from 5 to 9.
>>>
>>> Can we simply use truly variadic templates now that we're using C++11
>>> features?
>>
>>
>> See
>> http://llvm.org/docs/CodingStandards.html#supported-c-11-language-and-library-features
>>
>> Variadic templates are not supported by VS 2012.
>
> Ah crud, I knew that in the recesses of my brain. :-P Sorry about that.

We do still use them in places, protected by
LLVM_HAS_VARIADIC_TEMPLATES - usually providing a fallback
non-variadic implementation. That way users with variadic support in
their compilers get better error messages, etc, (and out-of-tree
library users of any such APIs get the desired behavior without being
limited by MSVC2012).

- David

>
> ~Aaron
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list