summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorlatercomer <[email protected]>2024-04-21 01:17:18 -0400
committerMeco Man <[email protected]>2024-04-21 01:18:37 -0400
commit3ff2b08d82e590b3841f94cf05c756a693cfa8a8 (patch)
treed48ae96da94e4f796a497bbd7e0b71217d34ba72 /bsp
parent299f6e8ece4b63136832388a429a3681fae461f9 (diff)
[clang-format] 增加clang-format格式化配置,通过ide或者手动运行tools/run-clang-format.py进行代码自动格式化
Diffstat (limited to 'bsp')
-rw-r--r--bsp/.clang-format11
1 files changed, 11 insertions, 0 deletions
diff --git a/bsp/.clang-format b/bsp/.clang-format
new file mode 100644
index 0000000000..2a36a9c439
--- /dev/null
+++ b/bsp/.clang-format
@@ -0,0 +1,11 @@
+# Available style options are described in https://clang.llvm.org/docs/ClangFormatStyleOptions.html
+#
+# An easy way to create the .clang-format file is:
+#
+# clang-format -style=llvm -dump-config > .clang-format
+#
+---
+Language: Cpp
+DisableFormat: true
+---
+