summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2017-05-02 16:37:50 -0700
committerSteven Moreland <smoreland@google.com>2017-05-02 16:45:27 -0700
commit5242af6d24e847799c4ca7699e78a419ac830f0a (patch)
tree0e168dc7cd6bf607862969e722eaeb29dd151e3a /.clang-format
parent62769b7196a2bf937975f4e1b0a7fa404aceb6eb (diff)
downloadandroid_hardware_interfaces-5242af6d24e847799c4ca7699e78a419ac830f0a.tar.gz
android_hardware_interfaces-5242af6d24e847799c4ca7699e78a419ac830f0a.tar.bz2
android_hardware_interfaces-5242af6d24e847799c4ca7699e78a419ac830f0a.zip
.clang-format: 100 lines
This allows us to be more like the system/core clang format and also prevents problems because a lot of hardware/interfaces code is checked in with 100 lines of code. Test: pass Change-Id: I62aeba9deb33ad6ce3d62fada3e0c04139ca3588
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format6
1 files changed, 1 insertions, 5 deletions
diff --git a/.clang-format b/.clang-format
index 787d47ab9..9b3f9d991 100644
--- a/.clang-format
+++ b/.clang-format
@@ -14,15 +14,11 @@
# limitations under the License.
#
-#
-# Below are some minor deviations from the default Google style to
-# accommodate for handling of the large legacy code base.
-#
-
BasedOnStyle: Google
CommentPragmas: NOLINT:.*
DerivePointerAlignment: false
AllowShortFunctionsOnASingleLine: Inline
+ColumnLimit: 100
TabWidth: 4
UseTab: Never
IndentWidth: 4