Skip to content

Commit

Permalink
Updating code to match style
Browse files Browse the repository at this point in the history
  • Loading branch information
colincornaby committed Oct 19, 2023
1 parent 2d83176 commit 68544f0
Show file tree
Hide file tree
Showing 24 changed files with 2,654 additions and 2,845 deletions.
12 changes: 9 additions & 3 deletions Sources/Plasma/FeatureLib/pfMetalPipeline/.clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ BasedOnStyle: Google
Language: Cpp
# Modifications to the style for Plasma go here
IndentWidth: 4
AccessModifierOffset: -4
ColumnLimit: 0
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: MultiLine
AfterControlStatement: Never
AfterEnum: true
AfterFunction: true
AfterNamespace: true
Expand All @@ -17,17 +19,21 @@ BraceWrapping:
BeforeCatch: false
BeforeElse: false
IndentBraces: false
BreakBeforeBraces: Custom
IndentAccessModifiers: false
AlignConsecutiveDeclarations: AcrossComments
AlignConsecutiveAssignments:
Enabled: False
ReflowComments: false
ReflowComments: true
LambdaBodyIndentation: OuterScope
AllowShortBlocksOnASingleLine: true
AllowShortFunctionsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
PackConstructorInitializers: CurrentLine
ObjCBlockIndentWidth: 4
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesBeforeTrailingComments: 1
---
Language: ObjC
# Obj-C specific settings go here
Loading

0 comments on commit 68544f0

Please sign in to comment.