From 272dc62d4403202ff93d1e212b9c7a8fbee43074 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 21 Jun 2025 12:21:36 +0900 Subject: clang-format: move .clang-format to scaffold --- .clang-format | 18 ------------------ scaffold/cpp/.clang-format | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 .clang-format create mode 100644 scaffold/cpp/.clang-format diff --git a/.clang-format b/.clang-format deleted file mode 100644 index b80700c..0000000 --- a/.clang-format +++ /dev/null @@ -1,18 +0,0 @@ -# https://clang.llvm.org/docs/ClangFormatStyleOptions.html - -Language: Cpp -Standard: Latest -BasedOnStyle: LLVM - -AccessModifierOffset: -4 -AlignEscapedNewlines: DontAlign -AlignTrailingComments: false -AllowShortBlocksOnASingleLine: Never -AllowShortFunctionsOnASingleLine: None -AlwaysBreakTemplateDeclarations: Yes -BreakStringLiterals: false -ColumnLimit: 120 -IndentWidth: 4 -KeepEmptyLinesAtTheStartOfBlocks: false -MaxEmptyLinesToKeep: 1 -PointerAlignment: Left diff --git a/scaffold/cpp/.clang-format b/scaffold/cpp/.clang-format new file mode 100644 index 0000000..b80700c --- /dev/null +++ b/scaffold/cpp/.clang-format @@ -0,0 +1,18 @@ +# https://clang.llvm.org/docs/ClangFormatStyleOptions.html + +Language: Cpp +Standard: Latest +BasedOnStyle: LLVM + +AccessModifierOffset: -4 +AlignEscapedNewlines: DontAlign +AlignTrailingComments: false +AllowShortBlocksOnASingleLine: Never +AllowShortFunctionsOnASingleLine: None +AlwaysBreakTemplateDeclarations: Yes +BreakStringLiterals: false +ColumnLimit: 120 +IndentWidth: 4 +KeepEmptyLinesAtTheStartOfBlocks: false +MaxEmptyLinesToKeep: 1 +PointerAlignment: Left -- cgit v1.2.3-70-g09d2