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 --- bsp/.clang-format | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 bsp/.clang-format (limited to 'bsp') 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 +--- + -- cgit v1.3.1