summaryrefslogtreecommitdiff
path: root/include/gfx/.clang-format
diff options
context:
space:
mode:
Diffstat (limited to 'include/gfx/.clang-format')
-rw-r--r--include/gfx/.clang-format11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/gfx/.clang-format b/include/gfx/.clang-format
new file mode 100644
index 0000000000..86763a0cb4
--- /dev/null
+++ b/include/gfx/.clang-format
@@ -0,0 +1,11 @@
+BasedOnStyle: Google
+
+AccessModifierOffset: -2
+AllowShortFunctionsOnASingleLine: Inline
+BinPackParameters: false
+ColumnLimit: 100
+CommentPragmas: NOLINT:.*
+ConstructorInitializerAllOnOneLineOrOnePerLine: true
+ConstructorInitializerIndentWidth: 2
+ContinuationIndentWidth: 8
+IndentWidth: 4