Project

General

Profile

Actions

Feature #291

open

Feature #290: Use clang-format for the entire tree

Numerical array initializers aren't aligned numerically

Added by Patrick Georgi about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

Description

{
 1,  2,  3,  4,  5,  6,
10, 11, 12, 13, 14, 15,
}

is reformatted to

{
1, 2, 3, 4, 5, 6,
10, 11, 12, 13, 14, 15,
}

which is objectively uglier.

clang-format doesn't support right aligned fields like we need for that.

No data to display

Actions

Also available in: Atom PDF