From aad8f1a41bf3c50e657788c39020111c09683253 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 3 Jan 2023 11:51:40 +1100 Subject: [PATCH] Cleanup: use compliant YAML for '.clang-format' While clang-format could read the configuration file, it failed to load in `pyyaml` for e.g. --- .clang-format | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.clang-format b/.clang-format index 4c140988720..7e67aae1111 100644 --- a/.clang-format +++ b/.clang-format @@ -61,17 +61,17 @@ ContinuationIndentWidth: 4 # This tries to match Blender's style as much as possible. One BreakBeforeBraces: Custom BraceWrapping: { - AfterClass: 'false' - AfterControlStatement: 'false' - AfterEnum : 'false' - AfterFunction : 'true' - AfterNamespace : 'false' - AfterStruct : 'false' - AfterUnion : 'false' - BeforeCatch : 'true' - BeforeElse : 'true' - IndentBraces : 'false' - AfterObjCDeclaration: 'true' + AfterClass: 'false', + AfterControlStatement: 'false', + AfterEnum : 'false', + AfterFunction : 'true', + AfterNamespace : 'false', + AfterStruct : 'false', + AfterUnion : 'false', + BeforeCatch : 'true', + BeforeElse : 'true', + IndentBraces : 'false', + AfterObjCDeclaration: 'true', } # For switch statements, indent the cases.