diff --git a/.clang-format b/.clang-format index 9f6a8cce50e..1a051c38124 100644 --- a/.clang-format +++ b/.clang-format @@ -32,6 +32,7 @@ BraceWrapping: BeforeCatch: true BeforeElse: true IndentBraces: false +InsertBraces: true BreakBeforeBinaryOperators: NonAssignment BreakBeforeBraces: Custom # BreakBeforeInheritanceComma: false @@ -90,7 +91,7 @@ SpacesInContainerLiterals: false SpacesInCStyleCastParentheses: false SpacesInParentheses: false SpacesInSquareBrackets: false -Standard: Cpp11 +Standard: Cpp17 TabWidth: 4 UseTab: Never ...