[PATCH] D116806: [clang-format] Ensure we can correctly parse lambda in the template argument list
Björn Schäpers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 7 11:46:20 PST 2022
HazardyKnusperkeks added inline comments.
================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:2872-2874
+ if (FormatTok->is(tok::l_square))
+ if (!tryToParseLambda())
+ break;
----------------
Fewer ifs and lines.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116806/new/
https://reviews.llvm.org/D116806
More information about the cfe-commits
mailing list