[llvm-branch-commits] [clang] release/21.x: [clang][docs] Fix implicit-int-conversion-on-negation typos (PR #156815)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Sep 3 23:42:40 PDT 2025
https://github.com/correctmost created https://github.com/llvm/llvm-project/pull/156815
References to `-Wimplicit-int-comparison-on-negation` should be `-Wimplicit-int-conversion-on-negation` instead.
See: https://github.com/llvm/llvm-project/pull/139429/files#r2124372667
>From 37a8b8cc8001acbe0b975d3b01ab8c5fea283870 Mon Sep 17 00:00:00 2001
From: correctmost <134317971+correctmost at users.noreply.github.com>
Date: Thu, 4 Sep 2025 01:57:42 -0400
Subject: [PATCH] [clang][docs] Fix implicit-int-conversion-on-negation typos
References to -Wimplicit-int-comparison-on-negation should be
-Wimplicit-int-conversion-on-negation instead.
---
clang/docs/ReleaseNotes.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 9400be296e7c2..f03a3273c4518 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -677,8 +677,8 @@ Improvements to Clang's diagnostics
trigger a ``'Blue' is deprecated`` warning, which can be turned off with
``-Wno-deprecated-declarations-switch-case``.
-- Split diagnosis of implicit integer comparison on negation to a new
- diagnostic group ``-Wimplicit-int-comparison-on-negation``, grouped under
+- Split diagnosis of implicit integer conversion on negation to a new
+ diagnostic group ``-Wimplicit-int-conversion-on-negation``, grouped under
``-Wimplicit-int-conversion``, so user can turn it off independently.
- Improved the FixIts for unused lambda captures.
More information about the llvm-branch-commits
mailing list