From 99210c5063b4773c7fcb678a330264486eb01dca Mon Sep 17 00:00:00 2001 From: Dario Freni Date: Tue, 2 Feb 2021 23:42:39 +0000 Subject: [PATCH] Fix clang-format dangling symlinks. The symlinks are stale after moving the adbd code to a different repo. Test: n/a Change-Id: I7d1bf4905e32c7ff4ad8bd8f7de94bad2128797b --- .clang-format | 14 +++++++++++++- libs/.clang-format | 12 +++++++++++- libs/adbconnection/.clang-format | 12 +++++++++++- 3 files changed, 35 insertions(+), 3 deletions(-) mode change 120000 => 100644 .clang-format mode change 120000 => 100644 libs/.clang-format mode change 120000 => 100644 libs/adbconnection/.clang-format diff --git a/.clang-format b/.clang-format deleted file mode 120000 index 1af4f51d..00000000 --- a/.clang-format +++ /dev/null @@ -1 +0,0 @@ -../.clang-format-4 \ No newline at end of file diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000..a7614d29 --- /dev/null +++ b/.clang-format @@ -0,0 +1,13 @@ +BasedOnStyle: Google +Standard: Cpp11 +AccessModifierOffset: -2 +AllowShortFunctionsOnASingleLine: Inline +ColumnLimit: 100 +CommentPragmas: NOLINT:.* +DerivePointerAlignment: false +IncludeBlocks: Preserve +IndentWidth: 4 +ContinuationIndentWidth: 8 +PointerAlignment: Left +TabWidth: 4 +UseTab: Never diff --git a/libs/.clang-format b/libs/.clang-format deleted file mode 120000 index e545823f..00000000 --- a/libs/.clang-format +++ /dev/null @@ -1 +0,0 @@ -../../.clang-format-2 \ No newline at end of file diff --git a/libs/.clang-format b/libs/.clang-format new file mode 100644 index 00000000..a4e23f86 --- /dev/null +++ b/libs/.clang-format @@ -0,0 +1,11 @@ +BasedOnStyle: Google +Standard: Cpp11 +AllowShortFunctionsOnASingleLine: Inline +ColumnLimit: 100 +CommentPragmas: NOLINT:.* +DerivePointerAlignment: false +IncludeBlocks: Preserve +IndentWidth: 2 +PointerAlignment: Left +TabWidth: 2 +UseTab: Never diff --git a/libs/adbconnection/.clang-format b/libs/adbconnection/.clang-format deleted file mode 120000 index e545823f..00000000 --- a/libs/adbconnection/.clang-format +++ /dev/null @@ -1 +0,0 @@ -../../.clang-format-2 \ No newline at end of file diff --git a/libs/adbconnection/.clang-format b/libs/adbconnection/.clang-format new file mode 100644 index 00000000..a4e23f86 --- /dev/null +++ b/libs/adbconnection/.clang-format @@ -0,0 +1,11 @@ +BasedOnStyle: Google +Standard: Cpp11 +AllowShortFunctionsOnASingleLine: Inline +ColumnLimit: 100 +CommentPragmas: NOLINT:.* +DerivePointerAlignment: false +IncludeBlocks: Preserve +IndentWidth: 2 +PointerAlignment: Left +TabWidth: 2 +UseTab: Never