r211031 - [C++1z] Implement N4051: 'typename' is permitted instead of 'class' when declaring a template template parameter.

Richard Smith richard at metafoo.co.uk
Thu Jun 19 04:41:26 PDT 2014


On Wed, Jun 18, 2014 at 9:19 AM, Jordan Rose <jordan_rose at apple.com> wrote:

>
> On Jun 16, 2014, at 8:51 , Richard Smith <richard-llvm at metafoo.co.uk>
> wrote:
>
> +def CXXPre1zCompat : DiagGroup<"c++98-c++11-c++14-compat">;
> +def CXXPre1zCompatPedantic :
> DiagGroup<"c++98-c++11-c++14-compat-pedantic",
> +                                       [CXXPre1zCompat]>;
>
>
> I'm not happy with this warning name. Can we say the *compat options are
> just the newest version? c++14-compat?
>

That doesn't work: we want -Wc++11-compat to list all incompatibilities
with C++11, including this one.

My preference is to make this group unnamed, but I don't know if we support
that, nor what we'd list in the [-W...] in the diagnostic if we did.


> Alternately, we could have backwards names and forwards names:
> c++1z-compat for forwards compatibility warnings and pre-c++1z-compat for
> backwards compatibility warnings?
>
> Jordan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140619/96f1cefe/attachment.html>


More information about the cfe-commits mailing list