Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
# Copyright (c) 2026, Arm Limited.
# Default style for optimized-routines. Based on GNU style with deviations to
# match glibc style.
---
BasedOnStyle: GNU
IndentPPDirectives: AfterHash
SortIncludes: false
SpaceAfterCStyleCast: true
Standard: Cpp03
UseTab: Always
ForEachMacros:
- 'FOR_EACH_IMPL'
- 'list_for_each'
- 'list_for_each_prev'
- 'list_for_each_prev_safe'
29 changes: 29 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
# Copyright (c) 2026, Arm Limited.

root = true

[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true

[*.{c,h}]
indent_style = tab
indent_size = 2
tab_width = 8
max_line_length = 79

[*.{S,s}]
indent_style = tab
tab_width = 8
max_line_length = 79

[{Makefile,*.mk}]
indent_style = tab
tab_width = 8

[*.md]
indent_style = space
indent_size = 2
trim_trailing_whitespace = false
Loading