From e6cc3cfcc8f2d1d3ae158dfb97fd9ddc38f1ea83 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Tue, 15 Jan 2019 16:43:59 -0800 Subject: [PATCH] Move clang-formats to build. So they can be used by more projects. Bug: 122835115 Test: manual Change-Id: Ifda92ea584e80eeffc3fc8b7fcc6c67cae4156d6 --- .clang-format-2 | 10 +--------- .clang-format-4 | 12 +----------- 2 files changed, 2 insertions(+), 20 deletions(-) mode change 100644 => 120000 .clang-format-2 mode change 100644 => 120000 .clang-format-4 diff --git a/.clang-format-2 b/.clang-format-2 deleted file mode 100644 index ede5d7e18..000000000 --- a/.clang-format-2 +++ /dev/null @@ -1,9 +0,0 @@ -BasedOnStyle: Google -AllowShortFunctionsOnASingleLine: Inline -ColumnLimit: 100 -CommentPragmas: NOLINT:.* -DerivePointerAlignment: false -IndentWidth: 2 -PointerAlignment: Left -TabWidth: 2 -UseTab: Never diff --git a/.clang-format-2 b/.clang-format-2 new file mode 120000 index 000000000..7ab20d4fc --- /dev/null +++ b/.clang-format-2 @@ -0,0 +1 @@ +../../build/soong/scripts/system-clang-format-2 \ No newline at end of file diff --git a/.clang-format-4 b/.clang-format-4 deleted file mode 100644 index 55773a29f..000000000 --- a/.clang-format-4 +++ /dev/null @@ -1,11 +0,0 @@ -BasedOnStyle: Google -AccessModifierOffset: -2 -AllowShortFunctionsOnASingleLine: Inline -ColumnLimit: 100 -CommentPragmas: NOLINT:.* -DerivePointerAlignment: false -IndentWidth: 4 -ContinuationIndentWidth: 8 -PointerAlignment: Left -TabWidth: 4 -UseTab: Never diff --git a/.clang-format-4 b/.clang-format-4 new file mode 120000 index 000000000..ddcf5a291 --- /dev/null +++ b/.clang-format-4 @@ -0,0 +1 @@ +../../build/soong/scripts/system-clang-format \ No newline at end of file