WebKit Bugzilla
Attachment 369943 Details for
Bug 197911
: compilation failure with clang 9
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-197911-20190515122120.patch (text/plain), 1.50 KB, created by
Víctor M. Jáquez L.
on 2019-05-15 03:21:10 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Víctor M. Jáquez L.
Created:
2019-05-15 03:21:10 PDT
Size:
1.50 KB
patch
obsolete
>Subversion Revision: 245320 >diff --git a/Source/WTF/ChangeLog b/Source/WTF/ChangeLog >index 6bc60aa7e4bf74aa275461c4ac185caa4d982601..478585741a9063366056ddca1cdd2bd776aa4355 100644 >--- a/Source/WTF/ChangeLog >+++ b/Source/WTF/ChangeLog >@@ -1,3 +1,15 @@ >+2019-05-15 VÃctor Manuel Jáquez Leal <vjaquez@igalia.com> >+ >+ compilation failure with clang 9 >+ https://bugs.webkit.org/show_bug.cgi?id=197911 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Use std namespace for nullptr_t in tagArrayPtr templates. >+ >+ * wtf/PtrTag.h: >+ (WTF::tagArrayPtr): >+ > 2019-05-14 Commit Queue <commit-queue@webkit.org> > > Unreviewed, rolling out r245281. >diff --git a/Source/WTF/wtf/PtrTag.h b/Source/WTF/wtf/PtrTag.h >index a0e78563592113a66754326a85698148fd6ef0e8..14349bda47e0a6761270cfcc9978e38cf9edec78 100644 >--- a/Source/WTF/wtf/PtrTag.h >+++ b/Source/WTF/wtf/PtrTag.h >@@ -123,7 +123,7 @@ constexpr bool enablePtrTagDebugAssert = true; > > > 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 registerPtrTagLookup(PtrTagLookup*) { } > 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;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 197911
: 369943