[clang] [Clang] Separate implicit int conversion on negation sign to new diagnostic group (PR #139429)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Wed May 28 09:47:24 PDT 2025
================
@@ -352,6 +352,9 @@ Improvements to Clang's diagnostics
- Now correctly diagnose a tentative definition of an array with static
storage duration in pedantic mode in C. (#GH50661)
+- Split diagnosis of implicit integer comparison on negation to a new diagnostic group ``-Wimplicit-int-comparison-on-negation``,
+ so user can turn it off independently.
----------------
AaronBallman wrote:
```suggestion
- Split diagnosis of implicit integer comparison on negation to a new
diagnostic group ``-Wimplicit-int-comparison-on-negation``, grouped under
``-Wimplicit-int-conversion``, so user can turn it off independently.
```
https://github.com/llvm/llvm-project/pull/139429
More information about the cfe-commits
mailing list