[PATCH] D52676: [clang-format] tweaked another case of lambda formatting

Jeff Trull via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 3 12:24:14 PDT 2020


jaafar added inline comments.


================
Comment at: cfe/trunk/lib/Format/TokenAnnotator.cpp:3072
+      return false;
+    if (!Next->isOneOf(TT_LambdaLSquare, tok::l_brace, tok::caret))
+      return true;
----------------
This is the clause that triggers the problem.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D52676





More information about the cfe-commits mailing list