[all-commits] [llvm/llvm-project] f99371: [clang-format] PR50727 C# Invoke Lamda Expression ...
MyDeveloperDay via All-commits
all-commits at lists.llvm.org
Thu Jul 1 02:50:25 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f9937106b7171eb1f4f8914e29c2be0c36ebc46d
https://github.com/llvm/llvm-project/commit/f9937106b7171eb1f4f8914e29c2be0c36ebc46d
Author: mydeveloperday <mydeveloperday at gmail.com>
Date: 2021-07-01 (Thu, 01 Jul 2021)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTestCSharp.cpp
Log Message:
-----------
[clang-format] PR50727 C# Invoke Lamda Expression indentation incorrect
https://bugs.llvm.org/show_bug.cgi?id=50727
When processing C# Lambda expression in the indentation can goes a little wrong,
resulting the the closing } being at the wrong indentation level and meaning the remaining part of the file is
incorrectly indented.
This can be a fairly common pattern for when C# wants to peform a UI action from a thread,
and it wants to invoke that action on the main thread
Reviewed By: exv, jbcoe
Differential Revision: https://reviews.llvm.org/D104388
More information about the All-commits
mailing list