Title: [245325] trunk/Source/WTF
Revision
245325
Author
[email protected]
Date
2019-05-15 08:13:02 -0700 (Wed, 15 May 2019)

Log Message

compilation failure with clang 9
https://bugs.webkit.org/show_bug.cgi?id=197911

Patch by Víctor Manuel Jáquez Leal <[email protected]> on 2019-05-15
Reviewed by Alex Christensen.

Use std namespace for nullptr_t in tagArrayPtr templates.

* wtf/PtrTag.h:
(WTF::tagArrayPtr):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (245324 => 245325)


--- trunk/Source/WTF/ChangeLog	2019-05-15 15:03:23 UTC (rev 245324)
+++ trunk/Source/WTF/ChangeLog	2019-05-15 15:13:02 UTC (rev 245325)
@@ -1,3 +1,15 @@
+2019-05-15  Víctor Manuel Jáquez Leal  <[email protected]>
+
+        compilation failure with clang 9
+        https://bugs.webkit.org/show_bug.cgi?id=197911
+
+        Reviewed by Alex Christensen.
+
+        Use std namespace for nullptr_t in tagArrayPtr templates.
+
+        * wtf/PtrTag.h:
+        (WTF::tagArrayPtr):
+
 2019-05-14  Commit Queue  <[email protected]>
 
         Unreviewed, rolling out r245281.

Modified: trunk/Source/WTF/wtf/PtrTag.h (245324 => 245325)


--- trunk/Source/WTF/wtf/PtrTag.h	2019-05-15 15:03:23 UTC (rev 245324)
+++ trunk/Source/WTF/wtf/PtrTag.h	2019-05-15 15:13:02 UTC (rev 245325)
@@ -123,7 +123,7 @@
 
 
 template<typename T>
-inline T* tagArrayPtr(nullptr_t ptr, size_t length)
+inline T* tagArrayPtr(std::nullptr_t ptr, size_t length)
 {
     ASSERT(!length);
     return ptrauth_sign_unauthenticated(static_cast<T*>(ptr), ptrauth_key_process_dependent_data, length);
@@ -428,7 +428,7 @@
 inline void reportBadTag(const void*, PtrTag) { }
 
 template<typename T>
-inline T* tagArrayPtr(nullptr_t, size_t size)
+inline T* tagArrayPtr(std::nullptr_t, size_t size)
 {
     ASSERT_UNUSED(size, !size);
     return nullptr;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to