Open
Bug 1781990
Opened 2 years ago
Updated 2 years ago
clang-format puts long spaces in the midst of the line in a `new` expression with a struct initializer
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Developer Infrastructure
Lint and Formatting
Tracking
(Not tracked)
NEW
People
(Reporter: jimb, Unassigned)
References
Details
mach clang-format
is putting wide spaces between members of a struct initializer:
auto* request =
new MapRequest{this, mContext.get(), aBufferId, mode,
aOffset, aSize, std::move(aResolver)};
I've tried straightening it out to the below, but mach clang-format
puts it back in the above form.
auto* request = new MapRequest {
this,
mContext.get(),
aBufferId,
mode,
aOffset,
aSize,
std::move(aResolver)
};
Reporter | ||
Comment 1•2 years ago
|
||
... is it trying to organize the initializer expressions into columns??
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•