Skip to content

Commit

Permalink
Merge branch 'reformat-code' into 'master'
Browse files Browse the repository at this point in the history
Reformat code

See merge request OPAL/Libraries/ippl!155
  • Loading branch information
Arc676 committed Mar 15, 2023
2 parents 7d01275 + 9c80e1f commit 8595707
Show file tree
Hide file tree
Showing 171 changed files with 17,005 additions and 19,578 deletions.
24 changes: 24 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Language: Cpp
BasedOnStyle: Google
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignEscapedNewlines: Left
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Empty
AllowShortLoopsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AttributeMacros: ['KOKKOS_INLINE_FUNCTION']
BreakBeforeBinaryOperators: NonAssignment
BreakConstructorInitializers: BeforeComma
ColumnLimit: 100
DerivePointerAlignment: false
IndentWidth: 4
IncludeBlocks: Preserve
IndentGotoLabels: false
NamespaceIndentation: All
PackConstructorInitializers: Never
ReflowComments: true
StatementMacros: ['DefineUnaryOperation', 'DefineBinaryOperation']
Loading

0 comments on commit 8595707

Please sign in to comment.