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