r60/sfn: Update .clang-format
* Short inline methods in headers may stay on one line. * Include system headers last to avoid hidden dependencies. Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36542>
This commit is contained in:
@@ -2,11 +2,21 @@
|
||||
BasedOnStyle: InheritParentConfig
|
||||
DisableFormat: false
|
||||
|
||||
AllowShortFunctionsOnASingleLine: true
|
||||
AlwaysBreakAfterReturnType: TopLevel
|
||||
AllowShortEnumsOnASingleLine: false
|
||||
BinPackParameters: false
|
||||
BinPackArguments: false
|
||||
|
||||
# Include local files first and go to more general files
|
||||
# to avoid hidden dependencies
|
||||
IncludeCategories:
|
||||
- Regex: '<[[:alnum:].]+>'
|
||||
Priority: 3
|
||||
- Regex: '.*\/.*'
|
||||
Priority: 2
|
||||
- Regex: '.*'
|
||||
Priority: 1
|
||||
ColumnLimit: 90
|
||||
|
||||
IncludeBlocks: Regroup
|
||||
|
||||
Reference in New Issue
Block a user