owenca/haiku-format

Correct to have one variable declaration per line

Closed this issue · 1 comments

This is wrong:

float width = 0, height = kMinimumTrayHeight;

should be:

float width = 0;
float height = kMinimumTrayHeight;

clang-format is not equipped to handle this, which requires the parser of clang cfe. See also #5 (comment).