[clang-format] Fix formatting of the code that follows C# Lambda Expressions
authorPeter Stys <peterstys@google.com>
Fri, 17 Dec 2021 18:26:29 +0000 (10:26 -0800)
committerOwen Pan <owenpiano@gmail.com>
Fri, 17 Dec 2021 18:42:15 +0000 (10:42 -0800)
commit163c13fed9f68c31a14b3d2409b994909f0600bb
tree940c7bbc6334c27817b9281ec499d85f87524978
parent2fefb66e53f7824c89b9524469a2d7c93f8d15eb
[clang-format] Fix formatting of the code that follows C# Lambda Expressions

The alignment fix introduced by https://reviews.llvm.org/D104388 caused a regression whereby formatting of code that follows the lambda block is incorrect i.e. separate expressions are put on the same line.

Differential Revision: https://reviews.llvm.org/D115738
clang/lib/Format/UnwrappedLineParser.cpp
clang/lib/Format/UnwrappedLineParser.h
clang/unittests/Format/FormatTestCSharp.cpp