aboutsummaryrefslogtreecommitdiffhomepage
path: root/.clang-format
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2020-11-24 20:32:39 +0900
committernsfisis <nsfisis@gmail.com>2020-11-24 20:32:39 +0900
commit7faf38e5651554851520d29381b237323c4a32e9 (patch)
tree9e37b811cf9fbaf8374eba236d316308fc1b728a /.clang-format
parent58920da73489a5a4da37d4082aee4b762983c402 (diff)
downloaddotfiles-7faf38e5651554851520d29381b237323c4a32e9.tar.gz
dotfiles-7faf38e5651554851520d29381b237323c4a32e9.tar.zst
dotfiles-7faf38e5651554851520d29381b237323c4a32e9.zip
Update .clang-format: add some options
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format6
1 files changed, 4 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format
index 908be42..7045a64 100644
--- a/.clang-format
+++ b/.clang-format
@@ -4,12 +4,14 @@ Language: Cpp
Standard: Latest
BasedOnStyle: LLVM
-IndentWidth: 4
-ColumnLimit: 120
AccessModifierOffset: -4
AlignEscapedNewlines: DontAlign
AlignTrailingComments: false
+AllowShortFunctionsOnASingleLine: None
+AlwaysBreakTemplateDeclarations: Yes
BreakStringLiterals: false
+ColumnLimit: 120
+IndentWidth: 4
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
PointerAlignment: Left