[clang] [clang] Revise relnote for int->enum conversion. (PR #145755)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 25 11:10:12 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Eli Friedman (efriedma-quic)
<details>
<summary>Changes</summary>
Include more specifics from recent discussion on #<!-- -->143034.
---
Full diff: https://github.com/llvm/llvm-project/pull/145755.diff
1 Files Affected:
- (modified) clang/docs/ReleaseNotes.rst (+4-3)
``````````diff
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
---------------------------
``````````
</details>
https://github.com/llvm/llvm-project/pull/145755
More information about the cfe-commits
mailing list