[llvm-branch-commits] [clang] release/21.x: [clang][docs] Fix implicit-int-conversion-on-negation typos (PR #156815)

Tobias Hieta via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Sep 8 00:39:10 PDT 2025


https://github.com/tru updated https://github.com/llvm/llvm-project/pull/156815

>From 160ad51687ccc3e78d80c94d70cb8f4e3ddd97a5 Mon Sep 17 00:00:00 2001
From: correctmost <correctmost at gmail.com>
Date: Thu, 4 Sep 2025 13:13:57 -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