diff options
Diffstat (limited to 'scaffold/cpp/.clang-format')
| -rw-r--r-- | scaffold/cpp/.clang-format | 18 |
1 files changed, 18 insertions, 0 deletions
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 |
