summaryrefslogtreecommitdiff
path: root/include/.clang-format
diff options
context:
space:
mode:
authorscnorton <scnorton@biociphers.org>2017-06-28 17:37:17 -0400
committerscnorton <scnorton@biociphers.org>2017-06-28 17:37:17 -0400
commit26a48d7e926d3c7841a28b2af8cbbd170923469e (patch)
treefa83e9a7105769c66e3a66b3c6871984293db329 /include/.clang-format
parent39efcb2a6d169fba0ff33f1bd25e2947b74881a0 (diff)
parent06b6cada0ddedc62063171703ba6607019751a9a (diff)
Merge branch 'master' into use_pokeblock
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