diff --git a/.clang-format b/.clang-format index 2a4ddb8df85673a2196510a60ce86f1d7cc8bb3c..9b87ea1fc16e9ca86cd0cfed7c8015f40e16f93f 100644 --- a/.clang-format +++ b/.clang-format @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 # -# clang-format configuration file. Intended for clang-format >= 10. +# clang-format configuration file. Intended for clang-format >= 11. # # For more information, see: # @@ -667,7 +667,7 @@ SpaceAfterTemplateKeyword: true SpaceBeforeAssignmentOperators: true SpaceBeforeCtorInitializerColon: true SpaceBeforeInheritanceColon: true -SpaceBeforeParens: ControlStatements +SpaceBeforeParens: ControlStatementsExceptForEachMacros SpaceBeforeRangeBasedForLoopColon: true SpaceInEmptyParentheses: false SpacesBeforeTrailingComments: 1