[PATCH] D117421: [clang-format] Fix incorrect alignment of operator= overloads.
Elliott Maguire via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 17 10:32:50 PST 2022
glotchimo added a comment.
I was tinkering with the use of `getPreviousNonComment` last night before signing off and the problem that I noticed was that, though it stops the `operator=` from being split and aligned with previous lines, it adds a single space:
/* long long padding */ int() = default;
int &operator() = default;
+int &operator/**/ =();
Going to mess around with it some more today, but do you have any ideas as to why that might be happening?
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits