[PATCH] D132295: [clang-format] Change heuristic for locating lambda template arguments
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 21 23:02:11 PDT 2022
owenpan accepted this revision.
owenpan added inline comments.
================
Comment at: clang/unittests/Format/FormatTest.cpp:21634
+ " }\n"
+ "};\n");
+ verifyFormat("auto L = []<Foo... T>(T...) {\n"
----------------
There should be no terminating newline here.
================
Comment at: clang/unittests/Format/FormatTest.cpp:21640
+ " }\n"
+ "};\n");
----------------
Ditto.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132295/new/
https://reviews.llvm.org/D132295
More information about the cfe-commits
mailing list