clang-format: add array-for-each to correct formatting issues
The ARRAY_FOR_EACH() and ARRAY_FOR_EACH_PTR() macros were not formatting correctly in vs code (and I would guess other editors). Add an entry to .clang-format so that the opening brace is on the same line as the macro. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
This commit is contained in:
parent
d8fe0514f8
commit
aa2b83d4ab
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@ ColumnLimit: 100
|
||||||
ConstructorInitializerIndentWidth: 8
|
ConstructorInitializerIndentWidth: 8
|
||||||
ContinuationIndentWidth: 8
|
ContinuationIndentWidth: 8
|
||||||
ForEachMacros:
|
ForEachMacros:
|
||||||
|
- 'ARRAY_FOR_EACH'
|
||||||
|
- 'ARRAY_FOR_EACH_PTR'
|
||||||
- 'FOR_EACH'
|
- 'FOR_EACH'
|
||||||
- 'FOR_EACH_FIXED_ARG'
|
- 'FOR_EACH_FIXED_ARG'
|
||||||
- 'FOR_EACH_IDX'
|
- 'FOR_EACH_IDX'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue