[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/**/=();
+int &operator/**/ =();
Going to mess around with it some more today, but do you have any ideas as to why that might be happening?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117421/new/
https://reviews.llvm.org/D117421
More information about the cfe-commits
mailing list