summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorZach Reizner <zachr@google.com>2015-04-01 16:01:49 -0700
committerZachary Reizner <zachr@google.com>2015-04-10 16:49:59 +0000
commit74a9b7ae469c392e5cbcf0f4dfe988b81ed955a0 (patch)
tree49c3afb5ad999d52d37b7c06031d33c2515ba7eb /.clang-format
parentc10555daef886ddf6a3e50a542cc5718d03cd7df (diff)
downloaddrm_hwcomposer-74a9b7ae469c392e5cbcf0f4dfe988b81ed955a0.tar.gz
drm_hwcomposer-74a9b7ae469c392e5cbcf0f4dfe988b81ed955a0.tar.xz
drm_hwcomposer: add a .clang-format for our style
Change-Id: If6059a0456376d2aba6ad09af28fbb7add33f0b4 (cherry picked from commit fd425aec49615e749e1edc596384a3502ea0db05)
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format4
1 files changed, 4 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..5382f9b
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,4 @@
+BasedOnStyle: Google
+AllowShortIfStatementsOnASingleLine: false
+AllowShortLoopsOnASingleLine: false
+AllowShortFunctionsOnASingleLine: None