From 0b02f7fb2b285dae89443582302e5b287c81f5df Mon Sep 17 00:00:00 2001 From: Sander Boer Date: Fri, 3 May 2019 17:30:48 +0200 Subject: [PATCH] .clang-format settings indent=2 for me, temporarily. style=allman width=80 --- .clang-format | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000000..c4f8f88ee8 --- /dev/null +++ b/.clang-format @@ -0,0 +1,14 @@ +# We'll use defaults from the LLVM style +# https://clangformat.com/ + +BasedOnStyle: llvm +IndentWidth: 2 +ColumnLimit: 80 +BreakBeforeBraces: Allman +AlignTrailingComments: true + + +Language: Cpp +## Force pointers to the type for C++. +# DerivePointerAlignment: false +# PointerAlignment: Right