diff options
Diffstat (limited to '.clang-format')
| -rw-r--r-- | .clang-format | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..704da21 --- /dev/null +++ b/.clang-format @@ -0,0 +1,17 @@ +# https://clang.llvm.org/docs/ClangFormatStyleOptions.html + +Language: Cpp +Standard: Latest +BasedOnStyle: LLVM + +AccessModifierOffset: -4 +AlignEscapedNewlines: DontAlign +AlignTrailingComments: false +AllowShortFunctionsOnASingleLine: None +AlwaysBreakTemplateDeclarations: Yes +BreakStringLiterals: false +ColumnLimit: 120 +IndentWidth: 4 +KeepEmptyLinesAtTheStartOfBlocks: false +MaxEmptyLinesToKeep: 1 +PointerAlignment: Right |
