summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/.clang-format
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/glslang/src/.clang-format')
-rw-r--r--chromium/third_party/glslang/src/.clang-format12
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/.clang-format b/chromium/third_party/glslang/src/.clang-format
new file mode 100644
index 00000000000..daf87985eb7
--- /dev/null
+++ b/chromium/third_party/glslang/src/.clang-format
@@ -0,0 +1,12 @@
+Language: Cpp
+IndentWidth: 4
+BreakBeforeBraces: Custom
+BraceWrapping: { AfterFunction: true, AfterControlStatement: true }
+IndentCaseLabels: false
+ReflowComments: false
+ColumnLimit: 120
+AccessModifierOffset: -4
+AlignTrailingComments: true
+AllowShortBlocksOnASingleLine: false
+AllowShortIfStatementsOnASingleLine: false
+AllowShortLoopsOnASingleLine: false