aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_clang-format5
1 files changed, 3 insertions, 2 deletions
diff --git a/_clang-format b/_clang-format
index ee000a1e..4cdda2fb 100644
--- a/_clang-format
+++ b/_clang-format
@@ -15,7 +15,7 @@ Standard: Cpp11
# Leave the line breaks up to the user.
# Note that this may be changed at some point in the future.
-ColumnLimit: 0
+ColumnLimit: 100
# How much weight do extra characters after the line length limit have.
# PenaltyExcessCharacter: 4
@@ -77,4 +77,5 @@ SortIncludes: false
# macros for which the opening brace stays attached.
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH, forever, Q_FOREVER, QBENCHMARK, QBENCHMARK_ONCE ]
-
+# Break constructor initializers before the colon and after the commas.
+BreakConstructorInitializers: BeforeColon