clang-format: disable regrouping and sorting of includes
Disable regrouping and sorting of includes which can cause issues due to order requirements in some subsystems. Fixes #48520 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
53a3ff0dff
commit
c417cbc050
1 changed files with 3 additions and 1 deletions
|
@ -63,7 +63,8 @@ ForEachMacros:
|
||||||
- 'Z_GENLIST_FOR_EACH_CONTAINER_SAFE'
|
- 'Z_GENLIST_FOR_EACH_CONTAINER_SAFE'
|
||||||
- 'Z_GENLIST_FOR_EACH_NODE'
|
- 'Z_GENLIST_FOR_EACH_NODE'
|
||||||
- 'Z_GENLIST_FOR_EACH_NODE_SAFE'
|
- 'Z_GENLIST_FOR_EACH_NODE_SAFE'
|
||||||
IncludeBlocks: Regroup
|
# Disabled for now, see bug https://github.com/zephyrproject-rtos/zephyr/issues/48520
|
||||||
|
#IncludeBlocks: Regroup
|
||||||
IncludeCategories:
|
IncludeCategories:
|
||||||
- Regex: '^".*\.h"$'
|
- Regex: '^".*\.h"$'
|
||||||
Priority: 0
|
Priority: 0
|
||||||
|
@ -76,6 +77,7 @@ IncludeCategories:
|
||||||
IndentCaseLabels: false
|
IndentCaseLabels: false
|
||||||
IndentWidth: 8
|
IndentWidth: 8
|
||||||
# SpaceBeforeParens: ControlStatementsExceptControlMacros # clang-format >= 13.0
|
# SpaceBeforeParens: ControlStatementsExceptControlMacros # clang-format >= 13.0
|
||||||
|
SortIncludes: false
|
||||||
UseTab: Always
|
UseTab: Always
|
||||||
WhitespaceSensitiveMacros:
|
WhitespaceSensitiveMacros:
|
||||||
- STRINGIFY
|
- STRINGIFY
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue