https://bugs.llvm.org/show_bug.cgi?id=43338

            Bug ID: 43338
           Summary: [clang-format] C# Missing space after template > in
                    Dictionary<string,string> foo;
           Product: clang
           Version: trunk
          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]

When formatting C# (with trunk currently 10.0) and the following style

----------.clang-format----------
Language:        Cpp
BasedOnStyle: LLVM
---
Language: CSharp
BasedOnStyle: Microsoft
...
---------------------------------

The C# code

public class Foo
{
    Dictionary<string,string> foo;
}

will be formatted as

public class Foo
{
    Dictionary<string, string>foo;
                           ^^^^^   missing a space
}

-- 
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