summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-11-14 19:36:09 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-11-14 19:36:09 +0100
commitdb50f8863a1b5eb1dacd5d213d22d32426057106 (patch)
tree0a4d54436ba7b048206d06d7dd69c4251d1bc636
parentMerge "Fix "ordered comparison between pointer and zero"." am: a844bc9649 (diff)
parentMerge "Add .clang-format style file." (diff)
downloadandroid_bootable_recovery-db50f8863a1b5eb1dacd5d213d22d32426057106.tar
android_bootable_recovery-db50f8863a1b5eb1dacd5d213d22d32426057106.tar.gz
android_bootable_recovery-db50f8863a1b5eb1dacd5d213d22d32426057106.tar.bz2
android_bootable_recovery-db50f8863a1b5eb1dacd5d213d22d32426057106.tar.lz
android_bootable_recovery-db50f8863a1b5eb1dacd5d213d22d32426057106.tar.xz
android_bootable_recovery-db50f8863a1b5eb1dacd5d213d22d32426057106.tar.zst
android_bootable_recovery-db50f8863a1b5eb1dacd5d213d22d32426057106.zip
-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