Skip to content

Commit 45e6123

Browse files
committed
Update clang-format cofniguration.
Tell it we're using C++20(!), configure requires clause placement.
1 parent 7720d88 commit 45e6123

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.clang-format

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ColumnLimit : 120
99
CommentPragmas : '^\\.+'
1010
SpaceBeforeParens : ControlStatements
1111
SpaceInEmptyParentheses : false
12-
Standard : c++11
12+
Standard : c++20
1313

1414
AllowShortBlocksOnASingleLine : false
1515
AllowShortCaseLabelsOnASingleLine : true
@@ -20,3 +20,7 @@ AllowShortLambdasOnASingleLine : true
2020
AllowShortLoopsOnASingleLine : false
2121
AlwaysBreakTemplateDeclarations : MultiLine
2222
IndentCaseLabels : false
23+
24+
IndentRequiresClause : true
25+
RequiresClausePosition : OwnLine
26+
RequiresExpressionIndentation : OuterScope

0 commit comments

Comments
 (0)