OSDN Git Service

drm_hwcomposer: add a .clang-format for our style
authorZach Reizner <zachr@google.com>
Wed, 1 Apr 2015 23:01:49 +0000 (16:01 -0700)
committerZachary Reizner <zachr@google.com>
Fri, 10 Apr 2015 16:49:59 +0000 (16:49 +0000)
Change-Id: If6059a0456376d2aba6ad09af28fbb7add33f0b4
(cherry picked from commit fd425aec49615e749e1edc596384a3502ea0db05)

.clang-format [new file with mode: 0644]

diff --git a/.clang-format b/.clang-format
new file mode 100644 (file)
index 0000000..5382f9b
--- /dev/null
@@ -0,0 +1,4 @@
+BasedOnStyle: Google
+AllowShortIfStatementsOnASingleLine: false
+AllowShortLoopsOnASingleLine: false
+AllowShortFunctionsOnASingleLine: None