platform_system_core/debuggerd
Tom Cherry 5b4eb23cfd 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
2017-03-14 14:06:31 -07:00
..
client debuggerd: remove obsolete dumpable check. 2017-03-01 11:55:16 -08:00
crasher Small debuggerd improvements. 2017-03-02 19:01:20 -08:00
handler debuggerd_handler: restore errno. 2017-03-10 14:44:54 -08:00
include/debuggerd debuggerd_handler: implement missing fallback functionality. 2017-03-09 11:26:05 -08:00
libdebuggerd crash_dump: fix warnings, turn on -Werror. 2017-03-13 14:13:29 -07:00
tombstoned tombstoned: turn off signal handlers. 2017-03-06 12:30:25 -08:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp crash_dump: fix warnings, turn on -Werror. 2017-03-13 14:13:29 -07:00
crash_dump.cpp crash_dump: fix warnings, turn on -Werror. 2017-03-13 14:13:29 -07:00
debuggerd.cpp Small debuggerd improvements. 2017-03-02 19:01:20 -08:00
debuggerd_test.cpp debuggerd_test: add capability test. 2017-02-17 11:22:21 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
signal_sender.cpp liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
tombstoned_client.cpp debuggerd_handler: implement missing fallback functionality. 2017-03-09 11:26:05 -08:00
util.cpp debuggerd_handler: implement missing fallback functionality. 2017-03-09 11:26:05 -08:00