Bug 184167 - Remove CXX_REFERENCE_QUALIFIED_FUNCTIONS
Summary: Remove CXX_REFERENCE_QUALIFIED_FUNCTIONS
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: JF Bastien
URL:
Keywords: InRadar
Depends on:
Blocks: 184164 184190
  Show dependency treegraph
 
Reported: 2018-03-29 18:32 PDT by JF Bastien
Modified: 2018-03-30 13:05 PDT (History)
10 users (show)

See Also:


Attachments
patch (5.39 KB, patch)
2018-03-29 18:35 PDT, JF Bastien
ysuzuki: review+
ysuzuki: commit-queue-
Details | Formatted Diff | Diff
patch for landing (9.21 KB, patch)
2018-03-29 20:38 PDT, JF Bastien
commit-queue: commit-queue-
Details | Formatted Diff | Diff
patch for landing, rebased onto my other patch which touched WTFString.h (9.23 KB, patch)
2018-03-29 20:45 PDT, JF Bastien
commit-queue: commit-queue-
Details | Formatted Diff | Diff
patch (10.27 KB, patch)
2018-03-30 11:00 PDT, JF Bastien
commit-queue: commit-queue-
Details | Formatted Diff | Diff
patch (18.63 KB, patch)
2018-03-30 11:39 PDT, JF Bastien
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description JF Bastien 2018-03-29 18:32:06 PDT
Remove COMPILER_SUPPORTS(CXX_REFERENCE_QUALIFIED_FUNCTIONS), it's supported by all compilers WebKit supports (it's a C++11 feature, *detection* of it with __has_extension was added to clang on May 13th 2011, and VS2015 / GCC support it).
Comment 1 Radar WebKit Bug Importer 2018-03-29 18:33:42 PDT
<rdar://problem/39023130>
Comment 2 JF Bastien 2018-03-29 18:35:03 PDT
Created attachment 336829 [details]
patch
Comment 3 Yusuke Suzuki 2018-03-29 20:10:49 PDT
Comment on attachment 336829 [details]
patch

Let's enable Optional.h's OPTIONAL_HAS_MOVE_ACCESSORS too!
Comment 4 JF Bastien 2018-03-29 20:38:58 PDT
Created attachment 336837 [details]
patch for landing
Comment 5 WebKit Commit Bot 2018-03-29 20:40:28 PDT
Comment on attachment 336837 [details]
patch for landing

Rejecting attachment 336837 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'apply-attachment', '--no-update', '--non-interactive', 336837, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit

Last 500 characters of output:
d at 1 with fuzz 3.
patching file Source/WTF/wtf/Compiler.h
patching file Source/WTF/wtf/Optional.h
patching file Source/WTF/wtf/Ref.h
patching file Source/WTF/wtf/RefPtr.h
patching file Source/WTF/wtf/text/WTFString.cpp
patching file Source/WTF/wtf/text/WTFString.h
Hunk #1 FAILED at 299.
1 out of 1 hunk FAILED -- saving rejects to file Source/WTF/wtf/text/WTFString.h.rej

Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

Full output: http://webkit-queues.webkit.org/results/7143574
Comment 6 JF Bastien 2018-03-29 20:45:35 PDT
Created attachment 336838 [details]
patch for landing, rebased onto my other patch which touched WTFString.h
Comment 7 WebKit Commit Bot 2018-03-29 21:17:07 PDT
Comment on attachment 336838 [details]
patch for landing, rebased onto my other patch which touched WTFString.h

Rejecting attachment 336838 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'build', '--no-clean', '--no-update', '--build-style=release', '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit

Last 500 characters of output:
urces/UnifiedSource15.cpp -o /Volumes/Data/EWS/WebKit/WebKitBuild/WebCore.build/Release/WebCore.build/Objects-normal/x86_64/UnifiedSource15.o

** BUILD FAILED **


The following build commands failed:
	CompileC /Volumes/Data/EWS/WebKit/WebKitBuild/WebCore.build/Release/WebCore.build/Objects-normal/x86_64/UnifiedSource2.o /Volumes/Data/EWS/WebKit/WebKitBuild/Release/DerivedSources/WebCore/unified-sources/UnifiedSource2.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Full output: http://webkit-queues.webkit.org/results/7143638
Comment 8 JF Bastien 2018-03-29 21:19:47 PDT
Interesting, the change makes some things rvalue references instead of lvalues, which causes some static asserts. Will fix tomorrow.
Comment 9 JF Bastien 2018-03-30 11:00:58 PDT
Created attachment 336871 [details]
patch
Comment 10 WebKit Commit Bot 2018-03-30 11:32:04 PDT
Comment on attachment 336871 [details]
patch

Rejecting attachment 336871 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'build', '--no-clean', '--no-update', '--build-style=release', '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit

Last 500 characters of output:
urces/UnifiedSource15.cpp -o /Volumes/Data/EWS/WebKit/WebKitBuild/WebCore.build/Release/WebCore.build/Objects-normal/x86_64/UnifiedSource15.o

** BUILD FAILED **


The following build commands failed:
	CompileC /Volumes/Data/EWS/WebKit/WebKitBuild/WebCore.build/Release/WebCore.build/Objects-normal/x86_64/UnifiedSource2.o /Volumes/Data/EWS/WebKit/WebKitBuild/Release/DerivedSources/WebCore/unified-sources/UnifiedSource2.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Full output: http://webkit-queues.webkit.org/results/7149511
Comment 11 JF Bastien 2018-03-30 11:39:35 PDT
Created attachment 336874 [details]
patch

Fix more bad moves. My local build is borked, starting it from scratch so I'm not sure I got all of them yet...
Comment 12 WebKit Commit Bot 2018-03-30 12:17:00 PDT
Comment on attachment 336874 [details]
patch

Clearing flags on attachment: 336874

Committed r230113: <https://trac.webkit.org/changeset/230113>
Comment 13 WebKit Commit Bot 2018-03-30 12:17:02 PDT
All reviewed patches have been landed.  Closing bug.