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
This commit is contained in:
Christopher Ferris 2017-03-28 12:31:37 -07:00
parent 6105dbd01b
commit a11c814d3d
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
BasedOnStyle: Google
AllowShortFunctionsOnASingleLine: Inline
ColumnLimit: 100
CommentPragmas: NOLINT:.*
DerivePointerAlignment: false

View File

@ -1,5 +1,6 @@
BasedOnStyle: Google
AccessModifierOffset: -2
AllowShortFunctionsOnASingleLine: Inline
ColumnLimit: 100
CommentPragmas: NOLINT:.*
DerivePointerAlignment: false