summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-11-03 23:17:32 +0100
committerTao Bao <tbao@google.com>2016-11-07 19:02:33 +0100
commit74bda5f65b69bc1ed664fdfb39049e9120e04dec (patch)
tree57bc5529e7ae580191fb13088f98555d513680c6 /.clang-format
parentMerge "updater: Add a testcase for RenameFn()." (diff)
downloadandroid_bootable_recovery-74bda5f65b69bc1ed664fdfb39049e9120e04dec.tar
android_bootable_recovery-74bda5f65b69bc1ed664fdfb39049e9120e04dec.tar.gz
android_bootable_recovery-74bda5f65b69bc1ed664fdfb39049e9120e04dec.tar.bz2
android_bootable_recovery-74bda5f65b69bc1ed664fdfb39049e9120e04dec.tar.lz
android_bootable_recovery-74bda5f65b69bc1ed664fdfb39049e9120e04dec.tar.xz
android_bootable_recovery-74bda5f65b69bc1ed664fdfb39049e9120e04dec.tar.zst
android_bootable_recovery-74bda5f65b69bc1ed664fdfb39049e9120e04dec.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