Skip to content
Snippets Groups Projects
Commit a9f3116b authored by Chris Kay's avatar Chris Kay Committed by jimqui01
Browse files

clang-format: Add architecture header group


The first revision of `.clang-format` missed some necessary include
grouping options for the recently-introduced architecture headers.

Change-Id: I92eeeb6ee94693d129502a1ddc873f77fb0b408d
Signed-off-by: Chris Kay's avatarChris Kay <chris.kay@arm.com>
parent 7d25028d
No related branches found
No related tags found
No related merge requests found
...@@ -25,6 +25,7 @@ ContinuationIndentWidth: '4' ...@@ -25,6 +25,7 @@ ContinuationIndentWidth: '4'
Cpp11BracedListStyle: 'false' Cpp11BracedListStyle: 'false'
DerivePointerAlignment: 'false' DerivePointerAlignment: 'false'
DisableFormat: 'false' DisableFormat: 'false'
IncludeBlocks: 'Regroup'
IncludeCategories: IncludeCategories:
- Regex: '^<internal/(.+)\.h>$' - Regex: '^<internal/(.+)\.h>$'
Priority: -2 Priority: -2
...@@ -34,10 +35,12 @@ IncludeCategories: ...@@ -34,10 +35,12 @@ IncludeCategories:
Priority: 0 Priority: 0
- Regex: '^<fwk_(.+)\.h>$' - Regex: '^<fwk_(.+)\.h>$'
Priority: 1 Priority: 1
- Regex: '^<fmw_(.+)\.h>$' - Regex: '^<arch_(.+)\.h>$'
Priority: 2 Priority: 2
- Regex: '^<((std.+)|assert|complex|ctype|errno|fenv|float|inttypes|iso646|limits|locale|math|setjmp|signal|string|tgmath|threads|time|uchar|wchar|wctype)\.h>$' - Regex: '^<fmw_(.+)\.h>$'
Priority: 3 Priority: 3
- Regex: '^<((std.+)|assert|complex|ctype|errno|fenv|float|inttypes|iso646|limits|locale|math|setjmp|signal|string|tgmath|threads|time|uchar|wchar|wctype|malloc|(sys/.+))\.h>$'
Priority: 4
- Regex: '^".+"$' - Regex: '^".+"$'
Priority: -4 Priority: -4
- Regex: '^<.+>$' - Regex: '^<.+>$'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment