NEW223616
clang-format removes space between empty braced initializers
https://bugs.webkit.org/show_bug.cgi?id=223616
Summary clang-format removes space between empty braced initializers
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.