summaryrefslogtreecommitdiffstats
path: root/base/.clang-format
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-03-16 10:08:46 -0700
committerDan Albert <danalbert@google.com>2015-03-16 10:08:46 -0700
commitc007bc3856a4cf86b8f610eb045f26a9dedc2894 (patch)
tree1b38faec0f6c58070f020edcb6a886f1d71cd5bd /base/.clang-format
parentb750efcc302f2cb50abe1eb20dc92414636cb5d2 (diff)
downloadsystem_core-c007bc3856a4cf86b8f610eb045f26a9dedc2894.zip
system_core-c007bc3856a4cf86b8f610eb045f26a9dedc2894.tar.gz
system_core-c007bc3856a4cf86b8f610eb045f26a9dedc2894.tar.bz2
Revert "Revert "Create libbase.""
This reverts commit a7870d88167f619e758b5bcd15b410d16da7c16b.
Diffstat (limited to 'base/.clang-format')
-rw-r--r--base/.clang-format11
1 files changed, 11 insertions, 0 deletions
diff --git a/base/.clang-format b/base/.clang-format
new file mode 100644
index 0000000..2b83a1f
--- /dev/null
+++ b/base/.clang-format
@@ -0,0 +1,11 @@
+BasedOnStyle: Google
+AllowShortBlocksOnASingleLine: false
+AllowShortFunctionsOnASingleLine: false
+
+CommentPragmas: NOLINT:.*
+DerivePointerAlignment: false
+IndentWidth: 2
+PointerAlignment: Left
+TabWidth: 2
+UseTab: Never
+PenaltyExcessCharacter: 32