summaryrefslogtreecommitdiff
path: root/include/.clang-format
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-07-05 17:48:21 -0400
committerGitHub <noreply@github.com>2017-07-05 17:48:21 -0400
commit124e2eb02c4adc46265e5b34b47ac0c625a24ec3 (patch)
tree5c0af98d9e49a767f455fff1ceec5d07cb8539b8 /include/.clang-format
parent123d5cc8b26d2a93fa3981beaccb84377c6ae20f (diff)
parent813c1846c94fa14b55bf75cf4c14465f1fb26635 (diff)
Merge branch 'master' into master
Diffstat (limited to 'include/.clang-format')
-rw-r--r--include/.clang-format24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/.clang-format b/include/.clang-format
new file mode 100644
index 000000000..995d5d96d
--- /dev/null
+++ b/include/.clang-format
@@ -0,0 +1,24 @@
+BasedOnStyle: LLVM
+AllowShortFunctionsOnASingleLine: None
+BreakBeforeBraces: Allman
+ColumnLimit: 100
+UseTab: Never
+IndentWidth: 4
+TabWidth: 4
+AlignAfterOpenBracket: DontAlign
+Cpp11BracedListStyle: false
+BreakStringLiterals: false
+IndentCaseLabels: false
+BinPackArguments: false
+BinPackParameters: false
+IncludeCategories:
+ - Regex: '^"gba/types\.h"$'
+ Priority: -4
+ - Regex: '^"global\.h"$'
+ Priority: -3
+ - Regex: '^"gba/gba\.h"$'
+ Priority: -2
+ - Regex: '^"gba/'
+ Priority: -1
+ - Regex: '.\*'
+ Priority: 1