[clang] [clang] Revise relnote for int->enum conversion. (PR #145755)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 25 11:09:37 PDT 2025
https://github.com/efriedma-quic created https://github.com/llvm/llvm-project/pull/145755
Include more specifics from recent discussion on #143034.
>From 60891ee7c1ee9a368fb097d39a983ffaa72fbfe0 Mon Sep 17 00:00:00 2001
From: Eli Friedman <efriedma at quicinc.com>
Date: Wed, 25 Jun 2025 11:04:51 -0700
Subject: [PATCH] [clang] Revise relnote for int->enum conversion.
Include more specifics from recent discussion on #143034.
---
clang/docs/ReleaseNotes.rst | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index e1fe22393eebb..c81beb62d3f09 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -66,9 +66,10 @@ C++ Specific Potentially Breaking Changes
- A workaround for libstdc++4.7 has been removed. Note that 4.8.3 remains the oldest
supported libstdc++ version.
- Added ``!nonnull/!align`` metadata to load of references for better codegen.
-- Checking for int->enum conversions in constant expressions is more strict;
- in particular, ``const E x = (E)-1;`` is not treated as a constant if it's
- out of range. This impacts old versions of Boost. (#GH143034)
+- Checking for integer to enum conversions in constant expressions is more
+ strict; in particular, ``const E x = (E)-1;`` is not treated as a constant
+ if it's out of range. The Boost numeric_conversion library is impacted by
+ this; it was fixed in Boost 1.81. (#GH143034)
ABI Changes in This Version
---------------------------
More information about the cfe-commits
mailing list