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

Author: Georg Lehmann <[email protected]>
Date:   Wed Mar 22 18:55:31 2023 +0100

aco: remove duplicates from .clang-format

The latest clang-format doesn't support this anymore.

Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22077>

---

 src/amd/compiler/.clang-format | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/src/amd/compiler/.clang-format b/src/amd/compiler/.clang-format
index 787183879c0..e8adaad2b40 100644
--- a/src/amd/compiler/.clang-format
+++ b/src/amd/compiler/.clang-format
@@ -7,23 +7,13 @@
 AlignAfterOpenBracket: true
 AlignConsecutiveMacros: true
 AllowAllArgumentsOnNextLine: false
-AllowShortCaseLabelsOnASingleLine: false
-AllowShortFunctionsOnASingleLine: false
 AlwaysBreakAfterReturnType: TopLevelDefinitions
 BasedOnStyle: LLVM
-BraceWrapping:
-  AfterControlStatement: false
-  AfterEnum: false
-  AfterFunction: true
-  AfterStruct: false
-  BeforeElse: false
-  SplitEmptyFunction: true
 BinPackArguments: true
 BinPackParameters: true
 BreakBeforeBraces: Custom
 ColumnLimit: 100
 ContinuationIndentWidth: 3
-Cpp11BracedListStyle: false
 Cpp11BracedListStyle: true
 ForEachMacros:
   - LIST_FOR_EACH_ENTRY
@@ -87,20 +77,11 @@ ForEachMacros:
   - u_foreach_bit
   - u_foreach_bit64
 
-IncludeBlocks: Preserve
-IncludeCategories:
-  - Regex:           '<[[:alnum:].]+>'
-    Priority:        1
-  - Regex:           '.*\/.*'
-    Priority:        2
-  - Regex:           '.*'
-    Priority:        3
 IndentWidth: 3
 PenaltyBreakBeforeFirstCallParameter: 1
 PenaltyExcessCharacter: 100
 SpaceAfterCStyleCast: false
 SpaceBeforeCpp11BracedList: false
-SpaceBeforeCtorInitializerColon: false
 SpacesInContainerLiterals: false
 
 

Reply via email to