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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to