[clang-format] Unnecessary space added before // clang-format on
which disables formatting
#53844
Labels
// clang-format on
which disables formatting
#53844
Using LLVM style, and given input:
clang-format adds a space before
clang-format on
:So the line
int unformatted;
gets formatted this time but next time,// clang-format on
does not enable the formatting and any code futher down is not formatted anymore.E.g. if know I change the code to:
it will stay as is (because of this additional space in
// clang-format on
).The text was updated successfully, but these errors were encountered: