util/perf: 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:05 +02:00 committed by Marge Bot
parent 74c7ef0e6d
commit 7e023df76f

View file

@ -1,16 +1,10 @@
BasedOnStyle: LLVM
AlwaysBreakAfterReturnType: TopLevelDefinitions
BasedOnStyle: InheritParentConfig
BinPackParameters: false
BraceWrapping:
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterStruct: false
BeforeElse: false
SplitEmptyFunction: true
BreakBeforeBraces: Custom
ColumnLimit: 78
ContinuationIndentWidth: 3
Cpp11BracedListStyle: false
IncludeBlocks: Regroup
IncludeCategories:
@ -20,26 +14,6 @@ IncludeCategories:
Priority: 2
- Regex: '.*'
Priority: 1
IndentWidth: 3
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyExcessCharacter: 100
SpaceAfterCStyleCast: true
SpaceBeforeCpp11BracedList: true
ForEachMacros:
- BITSET_FOREACH_SET
- BITSET_FOREACH_RANGE
- LIST_FOR_EACH_ENTRY
- LIST_FOR_EACH_ENTRY_SAFE
- LIST_FOR_EACH_ENTRY_SAFE_REV
- list_for_each_entry
- list_for_each_entry_safe
- list_for_each_entry_rev
- list_for_each_entry_rev_safe
- list_for_each_entry_from
- list_for_each_entry_from_rev
- foreach_list_typed
- u_foreach_bit
- u_vector_foreach
- util_dynarray_foreach
- rb_tree_foreach
- rb_tree_foreach_safe