[llvm-bugs] [Bug 47394] New: incorrect formatting of CSharp code array[index].method()
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Wed Sep  2 04:19:00 PDT 2020
    
    
  
https://bugs.llvm.org/show_bug.cgi?id=47394
            Bug ID: 47394
           Summary: incorrect formatting of CSharp code
                    array[index].method()
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: etienne at atnnn.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org
The code is formatted as:
    array [index]
        .method();
To reproduce:
    echo 'array[index].method();' | \
        clang-format --assume-filename=example.cs
The output is identical even with --style='{"SpaceBeforeSquareBrackets":
false}'
-- 
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/20200902/f376b855/attachment.html>
    
    
More information about the llvm-bugs
mailing list