Bug 230402

Summary: webkit-patch format: Objective-C++ formatting fails with nested dict literals
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ross.kirsling, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=230401
https://bugs.webkit.org/show_bug.cgi?id=230397
Bug Depends on:    
Bug Blocks: 234226    
Attachments:
Description Flags
fix to upstream none

Description Kimmo Kinnunen 2021-09-17 06:23:11 PDT
Test case:

auto pixelAttributes = @{
    (__bridge NSString *)kCVPixelBufferIOSurfacePropertiesKey : @{
            
    }
};
Foo abba { "qq" };


->

.... : @ {


Probably due to clan-format bug:
https://reviews.llvm.org/D46024
SpaceBeforeCpp11BracedList
Comment 1 Radar WebKit Bug Importer 2021-09-24 06:24:41 PDT
<rdar://problem/83494262>
Comment 2 Kimmo Kinnunen 2021-12-13 00:35:12 PST
Created attachment 446975 [details]
fix to upstream