summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-24 16:56:39 -0800
committerDan Albert <danalbert@google.com>2015-02-24 16:56:39 -0800
commit103c1be03f8ce8e4b12c1f194a7881d3381ea897 (patch)
treeb03d3b32e3819cfe30b7cf8d76f29bb830731ab4 /adb
parent5329d3fd54fa875bb7de78a8c40134cc63921c64 (diff)
downloadsystem_core-103c1be03f8ce8e4b12c1f194a7881d3381ea897.zip
system_core-103c1be03f8ce8e4b12c1f194a7881d3381ea897.tar.gz
system_core-103c1be03f8ce8e4b12c1f194a7881d3381ea897.tar.bz2
Add .clang-format file.
Not going to format the whole world just yet, but this helps for `git clang-format`. Change-Id: I482819419647e4c752d3b044bde8d637e1fae1e5
Diffstat (limited to 'adb')
-rw-r--r--adb/.clang-format11
1 files changed, 11 insertions, 0 deletions
diff --git a/adb/.clang-format b/adb/.clang-format
new file mode 100644
index 0000000..2b83a1f
--- /dev/null
+++ b/adb/.clang-format
@@ -0,0 +1,11 @@
+BasedOnStyle: Google
+AllowShortBlocksOnASingleLine: false
+AllowShortFunctionsOnASingleLine: false
+
+CommentPragmas: NOLINT:.*
+DerivePointerAlignment: false
+IndentWidth: 2
+PointerAlignment: Left
+TabWidth: 2
+UseTab: Never
+PenaltyExcessCharacter: 32