summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-11-14 19:43:06 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-11-14 19:43:06 +0100
commit656501323a5267c50daf98aa5eb8cdef5f669fe0 (patch)
tree0a4d54436ba7b048206d06d7dd69c4251d1bc636
parentMerge "Fix "ordered comparison between pointer and zero"." am: a844bc9649 am: 08c4130493 (diff)
parentMerge "Add .clang-format style file." am: b76960c984 (diff)
downloadandroid_bootable_recovery-656501323a5267c50daf98aa5eb8cdef5f669fe0.tar
android_bootable_recovery-656501323a5267c50daf98aa5eb8cdef5f669fe0.tar.gz
android_bootable_recovery-656501323a5267c50daf98aa5eb8cdef5f669fe0.tar.bz2
android_bootable_recovery-656501323a5267c50daf98aa5eb8cdef5f669fe0.tar.lz
android_bootable_recovery-656501323a5267c50daf98aa5eb8cdef5f669fe0.tar.xz
android_bootable_recovery-656501323a5267c50daf98aa5eb8cdef5f669fe0.tar.zst
android_bootable_recovery-656501323a5267c50daf98aa5eb8cdef5f669fe0.zip
Diffstat (limited to '')
-rw-r--r--.clang-format14
1 files changed, 14 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 000000000..b8c642840
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,14 @@
+BasedOnStyle: Google
+AllowShortBlocksOnASingleLine: false
+AllowShortFunctionsOnASingleLine: false
+
+ColumnLimit: 100
+CommentPragmas: NOLINT:.*
+DerivePointerAlignment: false
+IndentWidth: 2
+PointerAlignment: Left
+TabWidth: 2
+UseTab: Never
+PenaltyExcessCharacter: 32
+
+Cpp11BracedListStyle: false