summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-11-14 19:28:32 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-11-14 19:28:32 +0100
commit1f0af0c2ea952a37fc4052cddf6f1dec85f87723 (patch)
tree71f60c4680c6764b6adce56579f4d3ce1dbb6506 /.clang-format
parentMerge "Fix "ordered comparison between pointer and zero"." (diff)
parentMerge "Add .clang-format style file." (diff)
downloadandroid_bootable_recovery-1f0af0c2ea952a37fc4052cddf6f1dec85f87723.tar
android_bootable_recovery-1f0af0c2ea952a37fc4052cddf6f1dec85f87723.tar.gz
android_bootable_recovery-1f0af0c2ea952a37fc4052cddf6f1dec85f87723.tar.bz2
android_bootable_recovery-1f0af0c2ea952a37fc4052cddf6f1dec85f87723.tar.lz
android_bootable_recovery-1f0af0c2ea952a37fc4052cddf6f1dec85f87723.tar.xz
android_bootable_recovery-1f0af0c2ea952a37fc4052cddf6f1dec85f87723.tar.zst
android_bootable_recovery-1f0af0c2ea952a37fc4052cddf6f1dec85f87723.zip
Diffstat (limited to '.clang-format')
-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