From f0a50945d8b259879a1d0c35ec38dc0ad08a6803 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Tue, 15 Jan 2019 16:56:32 -0800 Subject: [PATCH] samsung: Replace clang-format with symlink. Automatic consistency. Bug: 122835115 Test: manual Change-Id: I6583f9f7923a822aa11f1839fbf375c1063a89c6 --- .clang-format | 1 + hidl/fingerprint/.clang-format | 11 ----------- hidl/keymaster/.clang-format | 11 ----------- hidl/light/.clang-format | 11 ----------- hidl/livedisplay/.clang-format | 11 ----------- hidl/radio/1.3/.clang-format | 11 ----------- hidl/touch/.clang-format | 11 ----------- 7 files changed, 1 insertion(+), 66 deletions(-) create mode 120000 .clang-format delete mode 100644 hidl/fingerprint/.clang-format delete mode 100644 hidl/keymaster/.clang-format delete mode 100644 hidl/light/.clang-format delete mode 100644 hidl/livedisplay/.clang-format delete mode 100644 hidl/radio/1.3/.clang-format delete mode 100644 hidl/touch/.clang-format diff --git a/.clang-format b/.clang-format new file mode 120000 index 0000000..ddcf5a2 --- /dev/null +++ b/.clang-format @@ -0,0 +1 @@ +../../build/soong/scripts/system-clang-format \ No newline at end of file diff --git a/hidl/fingerprint/.clang-format b/hidl/fingerprint/.clang-format deleted file mode 100644 index ae4a451..0000000 --- a/hidl/fingerprint/.clang-format +++ /dev/null @@ -1,11 +0,0 @@ -BasedOnStyle: Google -AccessModifierOffset: -2 -AllowShortFunctionsOnASingleLine: Inline -ColumnLimit: 100 -CommentPragmas: NOLINT:.* -DerivePointerAlignment: false -IndentWidth: 4 -PointerAlignment: Left -TabWidth: 4 -UseTab: Never -PenaltyExcessCharacter: 32 diff --git a/hidl/keymaster/.clang-format b/hidl/keymaster/.clang-format deleted file mode 100644 index ae4a451..0000000 --- a/hidl/keymaster/.clang-format +++ /dev/null @@ -1,11 +0,0 @@ -BasedOnStyle: Google -AccessModifierOffset: -2 -AllowShortFunctionsOnASingleLine: Inline -ColumnLimit: 100 -CommentPragmas: NOLINT:.* -DerivePointerAlignment: false -IndentWidth: 4 -PointerAlignment: Left -TabWidth: 4 -UseTab: Never -PenaltyExcessCharacter: 32 diff --git a/hidl/light/.clang-format b/hidl/light/.clang-format deleted file mode 100644 index ae4a451..0000000 --- a/hidl/light/.clang-format +++ /dev/null @@ -1,11 +0,0 @@ -BasedOnStyle: Google -AccessModifierOffset: -2 -AllowShortFunctionsOnASingleLine: Inline -ColumnLimit: 100 -CommentPragmas: NOLINT:.* -DerivePointerAlignment: false -IndentWidth: 4 -PointerAlignment: Left -TabWidth: 4 -UseTab: Never -PenaltyExcessCharacter: 32 diff --git a/hidl/livedisplay/.clang-format b/hidl/livedisplay/.clang-format deleted file mode 100644 index ae4a451..0000000 --- a/hidl/livedisplay/.clang-format +++ /dev/null @@ -1,11 +0,0 @@ -BasedOnStyle: Google -AccessModifierOffset: -2 -AllowShortFunctionsOnASingleLine: Inline -ColumnLimit: 100 -CommentPragmas: NOLINT:.* -DerivePointerAlignment: false -IndentWidth: 4 -PointerAlignment: Left -TabWidth: 4 -UseTab: Never -PenaltyExcessCharacter: 32 diff --git a/hidl/radio/1.3/.clang-format b/hidl/radio/1.3/.clang-format deleted file mode 100644 index ae4a451..0000000 --- a/hidl/radio/1.3/.clang-format +++ /dev/null @@ -1,11 +0,0 @@ -BasedOnStyle: Google -AccessModifierOffset: -2 -AllowShortFunctionsOnASingleLine: Inline -ColumnLimit: 100 -CommentPragmas: NOLINT:.* -DerivePointerAlignment: false -IndentWidth: 4 -PointerAlignment: Left -TabWidth: 4 -UseTab: Never -PenaltyExcessCharacter: 32 diff --git a/hidl/touch/.clang-format b/hidl/touch/.clang-format deleted file mode 100644 index ae4a451..0000000 --- a/hidl/touch/.clang-format +++ /dev/null @@ -1,11 +0,0 @@ -BasedOnStyle: Google -AccessModifierOffset: -2 -AllowShortFunctionsOnASingleLine: Inline -ColumnLimit: 100 -CommentPragmas: NOLINT:.* -DerivePointerAlignment: false -IndentWidth: 4 -PointerAlignment: Left -TabWidth: 4 -UseTab: Never -PenaltyExcessCharacter: 32 -- 2.20.1