[PATCH] D135918: [clang-format] Fix lambda formatting in conditional

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 26 13:30:00 PDT 2022


HazardyKnusperkeks added inline comments.


================
Comment at: clang/lib/Format/ContinuationIndenter.cpp:336
+      Previous.MatchingParen && Previous.MatchingParen->Previous &&
+      Previous.MatchingParen->Previous->is(tok::r_brace) &&
+      Previous.MatchingParen->Previous->MatchingParen &&
----------------
owenpan wrote:
> We can delete this line.
Added an assert, just to be safe.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135918/new/

https://reviews.llvm.org/D135918



More information about the cfe-commits mailing list