[llvm-bugs] [Bug 43338] New: [clang-format] C# Missing space after template > in Dictionary<string,string> foo;

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 17 03:03:10 PDT 2019


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: unassignedclangbugs at nondot.org
          Reporter: mydeveloperday at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190917/f9f9f33e/attachment.html>


More information about the llvm-bugs mailing list