[llvm-bugs] [Bug 48594] New: BraceWrapping: SplitEmptyRecord ignored for templates
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Dec 24 18:24:04 PST 2020
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: unassignedclangbugs at nondot.org
Reporter: johelegp at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
.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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201225/a04459f4/attachment.html>
More information about the llvm-bugs
mailing list