summaryrefslogtreecommitdiff
path: root/components
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 /components
parent299f6e8ece4b63136832388a429a3681fae461f9 (diff)
[clang-format] 增加clang-format格式化配置,通过ide或者手动运行tools/run-clang-format.py进行代码自动格式化
Diffstat (limited to 'components')
-rw-r--r--components/dfs/dfs_v1/filesystems/elmfat/.clang-format11
-rw-r--r--components/dfs/dfs_v2/filesystems/elmfat/.clang-format11
-rw-r--r--components/net/lwip/.clang-format11
3 files changed, 33 insertions, 0 deletions
diff --git a/components/dfs/dfs_v1/filesystems/elmfat/.clang-format b/components/dfs/dfs_v1/filesystems/elmfat/.clang-format
new file mode 100644
index 0000000000..2a36a9c439
--- /dev/null
+++ b/components/dfs/dfs_v1/filesystems/elmfat/.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
+---
+
diff --git a/components/dfs/dfs_v2/filesystems/elmfat/.clang-format b/components/dfs/dfs_v2/filesystems/elmfat/.clang-format
new file mode 100644
index 0000000000..2a36a9c439
--- /dev/null
+++ b/components/dfs/dfs_v2/filesystems/elmfat/.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
+---
+
diff --git a/components/net/lwip/.clang-format b/components/net/lwip/.clang-format
new file mode 100644
index 0000000000..2a36a9c439
--- /dev/null
+++ b/components/net/lwip/.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
+---
+