summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-11-14 19:50:11 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-11-14 19:50:11 +0100
commit90a9fc5bed91063204216f66d32a5f39b262c969 (patch)
tree6349d7d42f5c62e13c017202049dd0919d5807f2 /.clang-format
parentMerge "Fix "ordered comparison between pointer and zero"." am: a844bc9649 am: 08c4130493 am: 0f81984970 (diff)
parentMerge "Add .clang-format style file." am: b76960c984 am: 1f0af0c2ea (diff)
downloadandroid_bootable_recovery-90a9fc5bed91063204216f66d32a5f39b262c969.tar
android_bootable_recovery-90a9fc5bed91063204216f66d32a5f39b262c969.tar.gz
android_bootable_recovery-90a9fc5bed91063204216f66d32a5f39b262c969.tar.bz2
android_bootable_recovery-90a9fc5bed91063204216f66d32a5f39b262c969.tar.lz
android_bootable_recovery-90a9fc5bed91063204216f66d32a5f39b262c969.tar.xz
android_bootable_recovery-90a9fc5bed91063204216f66d32a5f39b262c969.tar.zst
android_bootable_recovery-90a9fc5bed91063204216f66d32a5f39b262c969.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