Bug 230402 - webkit-patch format: Objective-C++ formatting fails with nested dict literals
Summary: webkit-patch format: Objective-C++ formatting fails with nested dict literals
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: webkitpatchformat
  Show dependency treegraph
 
Reported: 2021-09-17 06:23 PDT by Kimmo Kinnunen
Modified: 2021-12-13 09:33 PST (History)
2 users (show)

See Also:


Attachments
fix to upstream (7.79 KB, text/plain)
2021-12-13 00:35 PST, Kimmo Kinnunen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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