Bug 223616
| Summary: | clang-format removes space between empty braced initializers | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Cameron McCormack (:heycam) <heycam> |
| Component: | Tools / Tests | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/75982853>
Kohei Asano
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.