clang-format BraceWrapping.AfterCaseLabel to true
This setting seems to better match the indentation that is used in GCC. Adds an exra level of indentation after braces in a case statement. Only manual testing done on the switch statements in c-common.cc:resolve_overloaded_builtin and alias.cc:record_component_aliases. Ok for trunk? contrib/ChangeLog: * clang-format: Set BraceWrapping.AfterCaseLabel. Signed-off-by: Matthew Malcomson <mmalcomson@nvidia.com>
This commit is contained in:
parent
5a022062d2
commit
7883341999
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ BinPackArguments: true
|
|||
BinPackParameters: true
|
||||
BraceWrapping:
|
||||
AfterClass: true
|
||||
AfterCaseLabel: true
|
||||
AfterControlStatement: true
|
||||
AfterEnum: true
|
||||
AfterFunction: true
|
||||
|
|
Loading…
Add table
Reference in a new issue