Skip to content
Snippets Groups Projects
Select Git revision
  • android-7.1.2_r28_klist
  • master default protected
  • oreo-mr1-iot-release
  • sdk-release
  • pie-cts-dev
  • pie-cts-release
  • pie-vts-release
  • nougat-iot-release
  • pie-gsi
  • pie-platform-release
  • pie-r2-release
  • pie-r2-s1-release
  • pie-release
  • pie-dev
  • oreo-m4-s4-release
  • o-mr1-iot-preview-8
  • oreo-m2-s2-release
  • oreo-m2-s1-release
  • oreo-m6-s2-release
  • oreo-m6-s3-release
  • android-o-mr1-iot-release-1.0.4
  • android-9.0.0_r8
  • android-9.0.0_r7
  • android-9.0.0_r6
  • android-9.0.0_r5
  • android-8.1.0_r46
  • android-8.1.0_r45
  • android-n-iot-release-smart-display-r2
  • android-vts-8.1_r5
  • android-cts-8.1_r8
  • android-cts-8.0_r12
  • android-cts-7.1_r20
  • android-cts-7.0_r24
  • android-cts-6.0_r31
  • android-o-mr1-iot-release-1.0.3
  • android-cts-9.0_r1
  • android-8.1.0_r43
  • android-8.1.0_r42
  • android-n-iot-release-smart-display
  • android-p-preview-5
40 results

.clang-format

  • Tom Cherry's avatar
    5b4eb23c
    Remove extraneous .clang-format files · 5b4eb23c
    Tom Cherry authored
    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
    5b4eb23c
    History
    Remove extraneous .clang-format files
    Tom Cherry authored
    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