[all-commits] [llvm/llvm-project] fd001c: [libc++] Workaround clang bug in __has_unique_obje...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Thu Jun 20 13:34:23 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fd001c16fed19249eec47d16ade9ad5810489c37
https://github.com/llvm/llvm-project/commit/fd001c16fed19249eec47d16ade9ad5810489c37
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M libcxx/include/__type_traits/has_unique_object_representation.h
A libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.compile.pass.cpp
R libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.pass.cpp
Log Message:
-----------
[libc++] Workaround clang bug in __has_unique_object_representations (#95314)
Clang currently has a bug in the __has_unique_object_representations
builtin where it doesn't provide consistent answers based on the order
of instantiation of templates. This was reported as #95311.
This patch adds a workaround in libc++ to avoid breaking users until
Clang has been fixed. It also revamps the tests a bit.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list