diff options
author | Tao Bao <tbao@google.com> | 2016-11-14 19:28:32 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-11-14 19:28:32 +0100 |
commit | 1f0af0c2ea952a37fc4052cddf6f1dec85f87723 (patch) | |
tree | 71f60c4680c6764b6adce56579f4d3ce1dbb6506 | |
parent | Merge "Fix "ordered comparison between pointer and zero"." (diff) | |
parent | Merge "Add .clang-format style file." (diff) | |
download | android_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 |
-rw-r--r-- | .clang-format | 14 |
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 |