summaryrefslogtreecommitdiffstats
path: root/base/.clang-format
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-03-13 22:39:54 -0700
committerDan Albert <danalbert@google.com>2015-03-14 16:36:18 -0700
commit98ff77204cef9bb8f0f27420833233622060a09e (patch)
tree54d1196083e2e4dc4b53353a2a77be6abd265066 /base/.clang-format
parentf1c2ba490ef979b3d347f08535ab8b817e917e62 (diff)
downloadsystem_core-98ff77204cef9bb8f0f27420833233622060a09e.zip
system_core-98ff77204cef9bb8f0f27420833233622060a09e.tar.gz
system_core-98ff77204cef9bb8f0f27420833233622060a09e.tar.bz2
Create libbase.
Move StringPrintf and the string based file I/O from libutils to libbase. Change-Id: I0297a6063874b9d92100e0dd5123fddfbda932fe
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