Skip to content
Snippets Groups Projects
  1. Mar 24, 2023
    • Martin Stjernholm's avatar
      Align clang-format with the Checkstyle hook for short functions. · b4f24501
      Martin Stjernholm authored
      The latter doesn't allow non-empty methods on a single line. This is
      the same in both C++ and Java. Test CL: https://r.android.com/2507738
      
      #codehealth
      
      Test: repo upload on a file with a short non-empty class method
            in C++ and Java formatted on multiple lines by clang-format.
      Test: repo upload on a file with a short empty class method
            in C++ and Java formatted on a single line by clang-format.
      Bug: 123456789
      Change-Id: I9795cd753f0f31be97652859f5bd8b5ce3427c55
      b4f24501
  2. Nov 15, 2022
  3. Jul 18, 2020
    • Garfield Tan's avatar
      Enable clang-format for frameworks/base · 4c2d3daf
      Garfield Tan authored
      Copy and paste internal setup to AOSP. Not include folders not in AOSP
      yet.
      
      Bug: None
      Test: repo upload
      Change-Id: I08b8c6d1bae7d1954847c207ef8e6d80373b2d05
      Merged-In: I08b8c6d1bae7d1954847c207ef8e6d80373b2d05
      4c2d3daf
  4. Dec 10, 2019
    • Siarhei Vishniakou's avatar
      Enable clang-format for input code · a3117ca4
      Siarhei Vishniakou authored
      Currently, there is no format enforcement for hid command. Add
      clang-format hook for all input-related code in frameworks/base.
      
      Bug: None
      Test: repo upload
      Change-Id: I08b8c6d1bae7d1954847c207ef8e6d80373b2d05
      a3117ca4
Loading