Skip to content

Commit 6bdfeca

Browse files
[clang] Revise relnote for int->enum conversion. (#145755)
Include more specifics from recent discussion on #143034.
1 parent 04b60d2 commit 6bdfeca

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@ C++ Specific Potentially Breaking Changes
6666
- A workaround for libstdc++4.7 has been removed. Note that 4.8.3 remains the oldest
6767
supported libstdc++ version.
6868
- Added ``!nonnull/!align`` metadata to load of references for better codegen.
69-
- Checking for int->enum conversions in constant expressions is more strict;
70-
in particular, ``const E x = (E)-1;`` is not treated as a constant if it's
71-
out of range. This impacts old versions of Boost. (#GH143034)
69+
- Checking for integer to enum conversions in constant expressions is more
70+
strict; in particular, ``const E x = (E)-1;`` is not treated as a constant
71+
if it's out of range. The Boost numeric_conversion library is impacted by
72+
this; it was fixed in Boost 1.81. (#GH143034)
7273

7374
ABI Changes in This Version
7475
---------------------------

0 commit comments

Comments
 (0)