summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Ferris2017-03-28 14:31:37 -0500
committerChristopher Ferris2017-03-28 14:31:37 -0500
commita11c814d3da58735792e0651457410e3d913852c (patch)
treeddec70be023aaf0de180ea04b03b4227d8636900 /.clang-format-4
parent6105dbd01bfd88d64d5c5451f6570f146c8b91b8 (diff)
downloadplatform-system-core-a11c814d3da58735792e0651457410e3d913852c.tar.gz
platform-system-core-a11c814d3da58735792e0651457410e3d913852c.tar.xz
platform-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-4')
-rw-r--r--.clang-format-41
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format-4 b/.clang-format-4
index 1497447fe..ae4a45135 100644
--- a/.clang-format-4
+++ b/.clang-format-4
@@ -1,5 +1,6 @@
1BasedOnStyle: Google 1BasedOnStyle: Google
2AccessModifierOffset: -2 2AccessModifierOffset: -2
3AllowShortFunctionsOnASingleLine: Inline
3ColumnLimit: 100 4ColumnLimit: 100
4CommentPragmas: NOLINT:.* 5CommentPragmas: NOLINT:.*
5DerivePointerAlignment: false 6DerivePointerAlignment: false