[clang] [clang] Fix behavior of `__is_trivially_relocatable(volatile int)` (PR #77092)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 10 00:48:20 PST 2024
================
@@ -249,6 +249,12 @@ Bug Fixes in This Version
- Clang now doesn't produce false-positive warning `-Wconstant-logical-operand`
for logical operators in C23.
+ Fixes (`#64356 <https://github.com/llvm/llvm-project/issues/64356>`_).
+- ``__is_trivially_relocatable`` no longer returns ``true`` for non-object types
+ such as references and functions, and no longer returns ``false`` for volatile-qualified types.
+ Fixes (`#67498 <https://github.com/llvm/llvm-project/issues/67498>`_) and
+ (`#77091 <https://github.com/llvm/llvm-project/issues/77091>`_)
+
----------------
cor3ntin wrote:
That's should be moved _after_ the next line (and you can use the same `#GHXXXX` syntax )
https://github.com/llvm/llvm-project/pull/77092
More information about the cfe-commits
mailing list