[PATCH] D34251: Add a new driver option to disable warning about c++17's non-throwing exception specification in function signature

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 19 16:27:06 PDT 2017

On 19 June 2017 at 16:25, Duncan P. N. Exon Smith via Phabricator via
cfe-commits <cfe-commits at lists.llvm.org> wrote:

> dexonsmith added a comment.
> > We use the `-Wc++NN-compat-` prefix on all the other subwarnings of
> `-Wc++NN-compat` warnings
> Interesting; I thought I saw a counter-example recently, and took that as
> the rule (although I can't for the life of me remember what it was).
> `-Wc++NN-compat-mangling` SGTM though.
> > Just curious, though: what is the motivation for enabling the rest of
> `-Wc++1z-compat` but not this part? This seems a lot more serious than the
> other warnings in the group. (Regardless, I think this patch is useful for
> the opposite: enabling just this one warning without the rest...)
> A user is recompiling the codebase as a unit so binary compatibility
> doesn't matter, but language semantics do.

Thanks, that makes perfect sense. =)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170619/14a55076/attachment-0001.html>

More information about the cfe-commits mailing list