aboutsummaryrefslogtreecommitdiffhomepage
path: root/.clang-format
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2016-12-14 09:17:55 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-14 15:00:48 +0000
commit544851b59be99217b9d59f2b88b349b997438a89 (patch)
tree808845f323bb6db8e659a8a1739e8db51c9842c4 /.clang-format
parent417b7f4255e01983eb5c2686f39294d39ad60814 (diff)
Change ConstructorInitializerWidth in .clang-format from 4 to 8
We aren't consistent about this but having it at 4 seems to be causing style churn in code I've been editting recently. Also I prefer something other than 4 so that initalizers don't align with the constructor body. BUG=skia: Change-Id: I6ae850c34324e792dfd717f449634abcc7be010b Reviewed-on: https://skia-review.googlesource.com/6030 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format2
1 files changed, 1 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index 978571dd0c..ff81590e3c 100644
--- a/.clang-format
+++ b/.clang-format
@@ -49,7 +49,7 @@ BreakStringLiterals: true
ColumnLimit: 100
CommentPragmas: '^ IWYU pragma:'
ConstructorInitializerAllOnOneLineOrOnePerLine: true
-ConstructorInitializerIndentWidth: 4
+ConstructorInitializerIndentWidth: 8
ContinuationIndentWidth: 8
Cpp11BracedListStyle: true
DerivePointerAlignment: false