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

            Bug ID: 48594
           Summary: BraceWrapping: SplitEmptyRecord ignored for templates
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

.clang-format:
```yaml
BraceWrapping:
  AfterStruct: true
  SplitEmptyRecord: true
BreakBeforeBraces: Custom
```

Input and expected formatted result:
```C++
template <class> struct rep
{
};
```

Actual output:
```C++
template <class> struct rep
{};
```

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