diff options
author | Christopher Ferris <cferris@google.com> | 2017-03-28 12:31:37 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2017-03-28 12:31:37 -0700 |
commit | a11c814d3da58735792e0651457410e3d913852c (patch) | |
tree | ddec70be023aaf0de180ea04b03b4227d8636900 /.clang-format-2 | |
parent | 6105dbd01bfd88d64d5c5451f6570f146c8b91b8 (diff) | |
download | system_core-a11c814d3da58735792e0651457410e3d913852c.tar.gz system_core-a11c814d3da58735792e0651457410e3d913852c.tar.bz2 system_core-a11c814d3da58735792e0651457410e3d913852c.zip |
Only allow short functions in class definitions.
The previous rules would force short functions to be on a single line.
This change only allows single function lines in class definitions.
Test: Ran on a CL and verified single line functions only allowed in
Test: class defintions.
Change-Id: I5422543fdbb39da842bbd799c19fe2c443ff483c
Diffstat (limited to '.clang-format-2')
-rw-r--r-- | .clang-format-2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format-2 b/.clang-format-2 index aab4665d6..41591ce34 100644 --- a/.clang-format-2 +++ b/.clang-format-2 @@ -1,4 +1,5 @@ BasedOnStyle: Google +AllowShortFunctionsOnASingleLine: Inline ColumnLimit: 100 CommentPragmas: NOLINT:.* DerivePointerAlignment: false |