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:
parent
6105dbd01b
commit
a11c814d3d
2 changed files with 2 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
BasedOnStyle: Google
|
||||
AllowShortFunctionsOnASingleLine: Inline
|
||||
ColumnLimit: 100
|
||||
CommentPragmas: NOLINT:.*
|
||||
DerivePointerAlignment: false
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
BasedOnStyle: Google
|
||||
AccessModifierOffset: -2
|
||||
AllowShortFunctionsOnASingleLine: Inline
|
||||
ColumnLimit: 100
|
||||
CommentPragmas: NOLINT:.*
|
||||
DerivePointerAlignment: false
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue