summaryrefslogtreecommitdiffstats
path: root/.clang-format-2
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2019-01-15 16:43:59 -0800
committerSteven Moreland <smoreland@google.com>2019-01-18 14:26:33 -0800
commite6cc3cfcc8f2d1d3ae158dfb97fd9ddc38f1ea83 (patch)
tree94ac10905fccfcf622aa4f67fa0341c23bb61d3e /.clang-format-2
parent48ad6aea221aea741d2df92926c9c6cd55ecbd4d (diff)
downloadsystem_core-e6cc3cfcc8f2d1d3ae158dfb97fd9ddc38f1ea83.tar.gz
system_core-e6cc3cfcc8f2d1d3ae158dfb97fd9ddc38f1ea83.tar.bz2
system_core-e6cc3cfcc8f2d1d3ae158dfb97fd9ddc38f1ea83.zip
Move clang-formats to build.
So they can be used by more projects. Bug: 122835115 Test: manual Change-Id: Ifda92ea584e80eeffc3fc8b7fcc6c67cae4156d6
Diffstat (limited to '.clang-format-2')
l---------[-rw-r--r--].clang-format-210
1 files changed, 1 insertions, 9 deletions
diff --git a/.clang-format-2 b/.clang-format-2
index ede5d7e18..7ab20d4fc 100644..120000
--- a/.clang-format-2
+++ b/.clang-format-2
@@ -1,9 +1 @@
-BasedOnStyle: Google
-AllowShortFunctionsOnASingleLine: Inline
-ColumnLimit: 100
-CommentPragmas: NOLINT:.*
-DerivePointerAlignment: false
-IndentWidth: 2
-PointerAlignment: Left
-TabWidth: 2
-UseTab: Never
+../../build/soong/scripts/system-clang-format-2 \ No newline at end of file