[PATCH] D117421: [clang-format] Fix incorrect alignment of operator= overloads.
Marek Kurdej via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 17 00:58:34 PST 2022
curdeius added inline comments.
================
Comment at: clang/lib/Format/WhitespaceManager.cpp:735
+ // Do not align operator= overloads.
+ if (C.Tok->Previous && C.Tok->Previous->is(tok::kw_operator)) {
+ FormatToken *Next = C.Tok->Next;
----------------
This should fix the `operator/**/ =` problem.
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