Skip to content

Commit

Permalink
Adding clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
colincornaby committed Oct 15, 2023
1 parent 7f68410 commit ac993ee
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions Sources/Plasma/FeatureLib/pfMetalPipeline/.clang-format
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ac993ee

Please sign in to comment.