https://bugs.llvm.org/show_bug.cgi?id=38686
Bug ID: 38686
Summary: add AfterCaseLabel to BraceWrapping
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangb...@nondot.org
Reporter: owenpi...@gmail.com
CC: djas...@google.com, kli...@google.com,
llvm-bugs@lists.llvm.org
Add a nested configuration flag AfterCaseLabel to BraceWrapping. This would
allow the following coding style:
switch (value) {
case 1:
{
int i = 0;
break;
}
}
with the following settings:
BreakBeforeBraces: Custom
BraceWrapping:
AfterControlStatement: false
AfterCaseLabel: true
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs