Bug 223616

Summary: clang-format removes space between empty braced initializers
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: fujii.hironori, jean-yves.avenard, kohei.asano, philn, 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=286304

Cameron McCormack (:heycam)
Reported 2021-03-22 18:02:53 PDT
Following up from https://bugs.webkit.org/show_bug.cgi?id=223229. In that bug, two of three issues identified were fixed with .clang-format updates. But formatting empty braced initializers as `{ }` rather than `{}` was not.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-03-29 18:03:12 PDT
Kohei Asano
Comment 2 2024-05-28 20:18:53 PDT
I guess this problem still exists for current trunk clang-format. https://github.com/llvm/llvm-project/issues/93635 But this problem could be solved like https://github.com/llvm/llvm-project/commit/f9022ddba4dd26dea5d04dbcd3c256d2d42b3bad technically, currently in consulting.
Note You need to log in before you can comment on or make changes to this bug.