Module: Mesa
Branch: main
Commit: 7ee6627f6610f3d7e92571217021b65efc2056f2
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ee6627f6610f3d7e92571217021b65efc2056f2

Author: Konstantin Seurer <[email protected]>
Date:   Fri May 26 21:41:27 2023 +0200

venus: Use the Mesa base style

Acked-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23275>

---

 src/virtio/vulkan/.clang-format | 29 +++++++----------------------
 1 file changed, 7 insertions(+), 22 deletions(-)

diff --git a/src/virtio/vulkan/.clang-format b/src/virtio/vulkan/.clang-format
index bdc8a0dc3fc..48aba350561 100644
--- a/src/virtio/vulkan/.clang-format
+++ b/src/virtio/vulkan/.clang-format
@@ -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

Reply via email to