[PATCH] D103949: Only consider built-in compound assignment operators for -Wunused-but-set-*
Stephan Bergmann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 9 03:24:48 PDT 2021
sberg added a comment.
In D103949#2807490 <https://reviews.llvm.org/D103949#2807490>, @xbolva00 wrote:
> gcc also ignores it?
For reasons that I never looked into, GCC never warned for any of these cases. The Clang implementation appears to be way more aggressive (in a positive sense) to begin with.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103949/new/
https://reviews.llvm.org/D103949
More information about the cfe-commits
mailing list