[PATCH] D117421: [clang-format] Fix incorrect alignment of operator= overloads.
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 17 00:41:48 PST 2022
MyDeveloperDay added inline comments.
================
Comment at: clang/unittests/Format/FormatTest.cpp:16172
+ "int &operator() = default;\n"
+ "int &operator=() {",
+ Alignment);
----------------
can you add a test showing what happens when you don't have the `{` in there definition?
================
Comment at: clang/unittests/Format/FormatTest.cpp:16189
+ "int &operator!=() {",
+ Alignment);
----------------
can you mi
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