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

            Bug ID: 51640
           Summary: [clang-format] New AfterEnum brace wrapping changes
                    have cause C# behaviour to change
           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]

in 13.0 and 14.0 AfterEnum brace wrapping is now different in how Enums are
modified (when they have an access modifier)

Enumerators with access modifiers don't follow the BraceWrapping rules

---
Language: CSharp
AllowShortBlocksOnASingleLine: false
AllowShortEnumsOnASingleLine: false
BreakBeforeBraces: Custom
BraceWrapping:
    AfterEnum: true


enum A
{
  A,
  B
}

internal enum A {
  A,
  B
}

public enum A {
  A,
  B
}

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