From 3ff2b08d82e590b3841f94cf05c756a693cfa8a8 Mon Sep 17 00:00:00 2001 From: latercomer Date: Sun, 21 Apr 2024 01:17:18 -0400 Subject: [clang-format] 增加clang-format格式化配置,通过ide或者手动运行tools/run-clang-format.py进行代码自动格式化 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/dfs/dfs_v1/filesystems/elmfat/.clang-format | 11 +++++++++++ components/dfs/dfs_v2/filesystems/elmfat/.clang-format | 11 +++++++++++ components/net/lwip/.clang-format | 11 +++++++++++ 3 files changed, 33 insertions(+) create mode 100644 components/dfs/dfs_v1/filesystems/elmfat/.clang-format create mode 100644 components/dfs/dfs_v2/filesystems/elmfat/.clang-format create mode 100644 components/net/lwip/.clang-format (limited to 'components') 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 +--- + -- cgit v1.3.1