You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clang-format inserts an (unwanted) break before a lessless (stream insertion) operator if (and only if) it is between two string literals. Why? Is there any intention or rationale? (ColumnLimit cannot be a cause.)
Moreover the lessless-es get aligned, despite that no alignment is allowed.
The text was updated successfully, but these errors were encountered:
Extended Description
$ echo -e 'void fu(void) {\ncout << "A" << "B" << "C" << D << "E" << "F" << "G"\n}' | clang-format -style="{BasedOnStyle: LLVM, AlignAfterOpenBracket: DontAlign, AlignOperands: false}"
void fu(void) {
cout << "A"
<< "B"
<< "C" << D << "E"
<< "F"
<< "G"
}
clang-format inserts an (unwanted) break before a lessless (stream insertion) operator if (and only if) it is between two string literals. Why? Is there any intention or rationale? (ColumnLimit cannot be a cause.)
Moreover the lessless-es get aligned, despite that no alignment is allowed.
The text was updated successfully, but these errors were encountered: