summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-05-04 15:46:17 +0800
committerIru Cai <mytbk920423@gmail.com>2018-05-04 19:45:57 +0800
commitdffefc69bf9d0b9754e1a8b1426be9c51c8e5eb1 (patch)
treeae537d6fcf883e9e8590c280de0ecde5ea38ba05 /.clang-format
parent64a8ae735ba3c24d8817e32cb9397c07647fd9c8 (diff)
downloadfqterm-dffefc69bf9d0b9754e1a8b1426be9c51c8e5eb1.tar.xz
add .clang-format and .dir-locals.el
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format12
1 files changed, 12 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..3e9f955
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,12 @@
+BasedOnStyle: LLVM
+Language: Cpp
+IndentWidth: 8
+UseTab: Always
+BreakBeforeBraces: Linux
+AllowShortIfStatementsOnASingleLine: false
+IndentCaseLabels: false
+SortIncludes: false
+ContinuationIndentWidth: 8
+ColumnLimit: 80
+Cpp11BracedListStyle: false
+ReflowComments: false