diff options
author | Tao Bao <tbao@google.com> | 2016-11-14 19:20:14 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-11-14 19:20:14 +0100 |
commit | b76960c9845ba0e2f4dbfabe9dc747e752b8049e (patch) | |
tree | 3e492494bb9cbee3b5e4b67489f6f6fae1c52ccb /.clang-format | |
parent | Merge "Fix "ordered comparison between pointer and zero"." (diff) | |
parent | Add .clang-format style file. (diff) | |
download | android_bootable_recovery-b76960c9845ba0e2f4dbfabe9dc747e752b8049e.tar android_bootable_recovery-b76960c9845ba0e2f4dbfabe9dc747e752b8049e.tar.gz android_bootable_recovery-b76960c9845ba0e2f4dbfabe9dc747e752b8049e.tar.bz2 android_bootable_recovery-b76960c9845ba0e2f4dbfabe9dc747e752b8049e.tar.lz android_bootable_recovery-b76960c9845ba0e2f4dbfabe9dc747e752b8049e.tar.xz android_bootable_recovery-b76960c9845ba0e2f4dbfabe9dc747e752b8049e.tar.zst android_bootable_recovery-b76960c9845ba0e2f4dbfabe9dc747e752b8049e.zip |
Diffstat (limited to '.clang-format')
-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 |