summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-11-14 19:20:14 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-11-14 19:20:14 +0100
commitb76960c9845ba0e2f4dbfabe9dc747e752b8049e (patch)
tree3e492494bb9cbee3b5e4b67489f6f6fae1c52ccb /.clang-format
parentMerge "Fix "ordered comparison between pointer and zero"." (diff)
parentAdd .clang-format style file. (diff)
downloadandroid_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-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