Title: [293619] trunk/Source/WTF
- Revision
- 293619
- Author
- [email protected]
- Date
- 2022-04-29 09:36:01 -0700 (Fri, 29 Apr 2022)
Log Message
REGRESSION(r293608): [GTK][WPE] Broke clang builds
https://bugs.webkit.org/show_bug.cgi?id=239899
Patch by Philippe Normand <[email protected]> on 2022-04-29
Reviewed by Michael Catanzaro.
* wtf/StdLibExtras.h: Restrict std::remove_cvref hacks to GCC.
Canonical link: https://commits.webkit.org/250125@main
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (293618 => 293619)
--- trunk/Source/WTF/ChangeLog 2022-04-29 16:26:38 UTC (rev 293618)
+++ trunk/Source/WTF/ChangeLog 2022-04-29 16:36:01 UTC (rev 293619)
@@ -1,3 +1,12 @@
+2022-04-29 Philippe Normand <[email protected]>
+
+ REGRESSION(r293608): [GTK][WPE] Broke clang builds
+ https://bugs.webkit.org/show_bug.cgi?id=239899
+
+ Reviewed by Michael Catanzaro.
+
+ * wtf/StdLibExtras.h: Restrict std::remove_cvref hacks to GCC.
+
2022-04-29 Diego Pino Garcia <[email protected]>
[GCC] std::remove_cvref is undefined in GCC8.4
Modified: trunk/Source/WTF/wtf/StdLibExtras.h (293618 => 293619)
--- trunk/Source/WTF/wtf/StdLibExtras.h 2022-04-29 16:26:38 UTC (rev 293618)
+++ trunk/Source/WTF/wtf/StdLibExtras.h 2022-04-29 16:36:01 UTC (rev 293619)
@@ -606,7 +606,7 @@
#define WTFMove(value) std::move<WTF::CheckMoveParameter>(value)
// FIXME: Needed for GCC<=9.3. Remove it after Ubuntu 20.04 end of support (May 2023).
-#if defined(__GLIBCXX__) && !defined(HAVE_STD_REMOVE_CVREF)
+#if defined(__GLIBCXX__) && !defined(HAVE_STD_REMOVE_CVREF) && !COMPILER(CLANG)
namespace std {
template <typename T>
struct remove_cvref {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes