[PATCH] D130417: [clang-format] Missing space between trailing return type 'auto' and left brace
Marek Kurdej via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 23 21:39:19 PDT 2022
curdeius accepted this revision.
curdeius added inline comments.
================
Comment at: clang/unittests/Format/FormatTest.cpp:23555-23556
+ FormatStyle Style = getLLVMStyle();
+ verifyFormat("[]() -> auto { return Val; }", Style);
+ verifyFormat("auto foo() -> auto { return Val; }", Style);
+}
----------------
owenpan wrote:
> Should we add test cases with an `&` between `auto` and `{`?
:+1:
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130417/new/
https://reviews.llvm.org/D130417
More information about the cfe-commits
mailing list