[llvm-bugs] [Bug 50727] New: [clang-format] C# Invoke Lamda Expression indentation incorrect
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jun 15 14:34:48 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50727
Bug ID: 50727
Summary: [clang-format] C# Invoke Lamda Expression indentation
incorrect
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: mydeveloperday at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
Using the following .clang-format stlye
---
Language: CSharp
BasedOnStyle: Microsoft
IndentWidth: 4
The following code goes a little wrong
void foo()
{
Application.Current.Dispatcher.Invoke(
DispatcherPriority.Render, (Action)(() =>
{
lock(A)
{
if (true)
{
A.Remove(item);
}
}
}));
}
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210615/6439b6d1/attachment.html>
More information about the llvm-bugs
mailing list