[PATCH] D138356: [clang-format][NFC] Format lambda in conditional
Björn Schäpers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 21 04:24:53 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc89d2fd596ce: [clang-format][NFC] Format lambda in conditional (authored by HazardyKnusperkeks).
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138356/new/
https://reviews.llvm.org/D138356
Files:
clang/lib/Format/TokenAnnotator.cpp
Index: clang/lib/Format/TokenAnnotator.cpp
===================================================================
--- clang/lib/Format/TokenAnnotator.cpp
+++ clang/lib/Format/TokenAnnotator.cpp
@@ -2583,7 +2583,7 @@
(Start->Previous &&
Start->Previous->isOneOf(TT_RequiresClause,
TT_RequiresClauseInARequiresExpression))
- ? [this](){
+ ? [this]() {
auto Ret = Current ? Current : Line.Last;
while (!Ret->ClosesRequiresClause && Ret->Previous)
Ret = Ret->Previous;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138356.476857.patch
Type: text/x-patch
Size: 607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221121/5871ba67/attachment.bin>
More information about the cfe-commits
mailing list