Bug 212389

Summary: Sort PlatformEnableCocoa.h and add definitions for the simple cases from FeatureDefines.xcconfig
Product: WebKit Reporter: Darin Adler <darin>
Component: WebKit Misc.Assignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, benjamin, cdumez, cmarcelo, ews-watchlist, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch andersca: review+, darin: commit-queue+

Description Darin Adler 2020-05-26 15:30:46 PDT
Sort PlatformEnableCocoa.h and add definitions for the simple cases from FeatureDefines.xcconfig
Comment 1 Darin Adler 2020-05-26 16:36:49 PDT
Created attachment 400287 [details]
Patch
Comment 2 Anders Carlsson 2020-05-26 21:25:09 PDT
Comment on attachment 400287 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=400287&action=review

> Source/WTF/wtf/PlatformEnableCocoa.h:39
> +/* Please keep the following in alphabetical order so we can notice duplicates. */

Why not use // C++ style comments?
Comment 3 Darin Adler 2020-05-27 10:20:39 PDT
Comment on attachment 400287 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=400287&action=review

>> Source/WTF/wtf/PlatformEnableCocoa.h:39
>> +/* Please keep the following in alphabetical order so we can notice duplicates. */
> 
> Why not use // C++ style comments?

I don’t know. I know these headers are very widely included, even in non-C++ files. But I don’t know if we have to support any language/compiler configuration that does not support them.
Comment 4 Darin Adler 2020-05-27 10:22:37 PDT
Committed r262199: <https://trac.webkit.org/changeset/262199>
Comment 5 Radar WebKit Bug Importer 2020-05-27 10:23:16 PDT
<rdar://problem/63679872>