venus: Use the Mesa base style

Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23275>
This commit is contained in:
Konstantin Seurer
2023-05-26 21:41:27 +02:00
committed by Marge Bot
parent 7e023df76f
commit 7ee6627f66
+7 -22
View File
@@ -1,24 +1,13 @@
BasedOnStyle: LLVM
BasedOnStyle: InheritParentConfig
AlwaysBreakAfterReturnType: TopLevel
BinPackParameters: false
BraceWrapping:
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterStruct: false
BeforeElse: false
SplitEmptyFunction: true
BreakBeforeBraces: Custom
ColumnLimit: 78
ContinuationIndentWidth: 3
Cpp11BracedListStyle: false
ForEachMacros:
- list_for_each_entry
- list_for_each_entry_safe
- vk_outarray_append
- vk_outarray_append_typed
- vk_foreach_struct
- vk_foreach_struct_const
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^"vn_common.h"$'
@@ -31,9 +20,5 @@ IncludeCategories:
Priority: 2
- Regex: '.*'
Priority: 1
IndentWidth: 3
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyExcessCharacter: 100
SpaceAfterCStyleCast: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeParens: ControlStatementsExceptForEachMacros