r184068 - Add warning group -Wdeprecated-register for C++11 warning on 'register' being

Jordan Rose jordan_rose at apple.com
Mon Jun 17 11:40:38 PDT 2013


On Jun 16, 2013, at 17:01 , Richard Smith <richard-llvm at metafoo.co.uk> wrote:

> +// FIXME: Why are DeprecatedImplementations and DeprecatedWritableStr
> +// not in this group?
> +def Deprecated : DiagGroup<"deprecated", [DeprecatedDeclarations,
> +                                          DeprecatedRegister]>,

As I understand it, because -Wdeprecated is for user deprecations (i.e. __attribute__((deprecated))), not language deprecations. Unless it's for GCC compatibility, I actually think it should stay that way, and that you should create a new flag for all these new things we're adding (starting with warn_increment_bool).

Jordan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130617/60a42c70/attachment.html>


More information about the cfe-commits mailing list