Bug 211634

Summary: [clang-tidy] Run modernize-use-using over WTF
Product: WebKit Reporter: Don Olmstead <don.olmstead>
Component: Web Template FrameworkAssignee: Don Olmstead <don.olmstead>
Status: ASSIGNED ---    
Severity: Normal CC: benjamin, cdumez, cmarcelo, darin, ews-watchlist
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
WIP Patch none

Description Don Olmstead 2020-05-08 11:57:59 PDT
...
Comment 1 Don Olmstead 2020-05-08 11:58:42 PDT
Created attachment 398878 [details]
WIP Patch
Comment 2 Don Olmstead 2020-05-08 12:01:59 PDT
Current problematic constructs with the modernizer.

Had some issues with these typedefs

-    typedef T* (PackedAlignedPtr::*UnspecifiedBoolType);
+    using UnspecifiedBoolType = T *(PackedAlignedPtr<T, >::*);

It will totally destroy typedef enum code but we probably shouldn't be using those constructs anyways.

typedef enum {
    LenientConversion,
    StrictConversion,
    StrictConversionReplacingUnpairedSurrogatesWithFFFD,
} ConversionMode;

Did have some issues with removing typedefs in Variant.h
Comment 3 Darin Adler 2020-05-08 13:40:13 PDT
Could do a quick pass first to remove all the "typedef enum" in the tree: Should be a mechanical process.