From ac993ee2cea0a843ed0869b09998b5e514cd1170 Mon Sep 17 00:00:00 2001 From: Colin Cornaby Date: Sun, 15 Oct 2023 14:48:28 -0700 Subject: [PATCH] Adding clang-format --- .../FeatureLib/pfMetalPipeline/.clang-format | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Sources/Plasma/FeatureLib/pfMetalPipeline/.clang-format diff --git a/Sources/Plasma/FeatureLib/pfMetalPipeline/.clang-format b/Sources/Plasma/FeatureLib/pfMetalPipeline/.clang-format new file mode 100644 index 0000000000..57db9a19a7 --- /dev/null +++ b/Sources/Plasma/FeatureLib/pfMetalPipeline/.clang-format @@ -0,0 +1,33 @@ +--- +BasedOnStyle: Google +--- +Language: Cpp +# Modifications to the style for Plasma go here +IndentWidth: 4 +ColumnLimit: 0 +BraceWrapping: + AfterClass: true + AfterControlStatement: MultiLine + AfterEnum: true + AfterFunction: true + AfterNamespace: true + AfterObjCDeclaration: true + AfterStruct: true + AfterUnion: true + BeforeCatch: false + BeforeElse: false + IndentBraces: false +BreakBeforeBraces: Custom +AlignConsecutiveDeclarations: AcrossComments +AlignConsecutiveAssignments: + Enabled: False +ReflowComments: false +LambdaBodyIndentation: OuterScope +AllowShortBlocksOnASingleLine: true +AllowShortFunctionsOnASingleLine: true +AllowShortIfStatementsOnASingleLine: true +PackConstructorInitializers: CurrentLine +ObjCBlockIndentWidth: 4 +--- +Language: ObjC +# Obj-C specific settings go here