[clang] 6bdfeca - [clang] Revise relnote for int->enum conversion. (#145755)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 26 08:45:53 PDT 2025


Author: Eli Friedman
Date: 2025-06-26T08:45:50-07:00
New Revision: 6bdfecaea837a07d034b1598a3af38c6f64044f4

URL: https://github.com/llvm/llvm-project/commit/6bdfecaea837a07d034b1598a3af38c6f64044f4
DIFF: https://github.com/llvm/llvm-project/commit/6bdfecaea837a07d034b1598a3af38c6f64044f4.diff

LOG: [clang] Revise relnote for int->enum conversion. (#145755)

Include more specifics from recent discussion on #143034.

Added: 
    

Modified: 
    clang/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index bc8e157e2b1c0..01f3b7a557a5c 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