[PATCH] D45766: [Sema] Add -Wno-self-assign-overloaded

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 23 15:29:25 PDT 2018


rjmccall added a comment.

In https://reviews.llvm.org/D45766#1076176, @dblaikie wrote:

> Is there anything else in the "-w" namespace other than the literal "-w" so
>  far?


No. This would be novel.

> I mean, I could imagine it might make more sense to default these warnings
>  off & users can turn them on for non-test code, potentially? So
>  "-Wnon-test" might make sense.

That's an interesting idea, but it's still not a warning group, because you shouldn't get the self-assign warnings unless `-Wself-assign` is enabled.


Repository:
  rL LLVM

https://reviews.llvm.org/D45766





More information about the cfe-commits mailing list