summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Cherry2017-03-14 16:06:31 -0500
committerTom Cherry2017-03-14 16:06:31 -0500
commit5b4eb23cfd872e7de993f2e750ce6efd29296fc9 (patch)
treea04d7c97c43876ea9a356293a9331271aea04242 /libprocinfo
parentf31abeb9735d97dd386580b250ad744453009356 (diff)
downloadplatform-system-core-5b4eb23cfd872e7de993f2e750ce6efd29296fc9.tar.gz
platform-system-core-5b4eb23cfd872e7de993f2e750ce6efd29296fc9.tar.xz
platform-system-core-5b4eb23cfd872e7de993f2e750ce6efd29296fc9.zip
Remove extraneous .clang-format files
The .clang-format files in the base, debuggerd, adb, libprocinfo, and fastboot subdirectories each differ slightly from the top level .clang-format-2 and .clang-format-4, but not in a substantially meaningful way, as the source files in those directories have not been re-formatted with clang-format. Therefore, let's reduce the differences and use only the two top level clang-format files. Secondly perform some small clean-up of the top level .clang-format files. AllowShortBlocksOnASingleLine is already false in the Google style, so it can be removed. AllowShortFunctionsOnASingleLine should not change between the -2 and -4 versions, so leave it at the Google default style in both, which is 'All'. The diff stats for these changes are: ./base/ Old: 640 insertions(+), 531 deletions(-) New: 563 insertions(+), 808 deletions(-) ./debuggerd/ Old: 910 insertions(+), 886 deletions(-) New: 991 insertions(+), 1023 deletions(-) ./adb/ Old: 2623 insertions(+), 2886 deletions(-) New: 2655 insertions(+), 3103 deletions(-) ./libprocinfo/ Old: 2 insertions(+), 1 deletion(-) New: 4 insertions(+), 18 deletions(-) ./fastboot/ Old: 618 insertions(+), 743 deletions(-) New: 726 insertions(+), 882 deletions(-) ./init/ Old: 1755 insertions(+), 1866 deletions(-) New: 1715 insertions(+), 1952 deletions(-) Test: Above clang-format stats Change-Id: I3f7b8ab0660c8394c5008ba95ea15e70dd22b55b
Diffstat (limited to 'libprocinfo')
l---------[-rw-r--r--]libprocinfo/.clang-format15
1 files changed, 1 insertions, 14 deletions
diff --git a/libprocinfo/.clang-format b/libprocinfo/.clang-format
index b8c642840..fd0645fdf 100644..120000
--- a/libprocinfo/.clang-format
+++ b/libprocinfo/.clang-format
@@ -1,14 +1 @@
1BasedOnStyle: Google ../.clang-format-2 \ No newline at end of file
2AllowShortBlocksOnASingleLine: false
3AllowShortFunctionsOnASingleLine: false
4
5ColumnLimit: 100
6CommentPragmas: NOLINT:.*
7DerivePointerAlignment: false
8IndentWidth: 2
9PointerAlignment: Left
10TabWidth: 2
11UseTab: Never
12PenaltyExcessCharacter: 32
13
14Cpp11BracedListStyle: false