pism

[fork] customized build of PISM, the parallel ice sheet model (tillflux branch)
git clone git://src.adamsgaard.dk/pism # fast
git clone https://src.adamsgaard.dk/pism.git # slow
Log | Files | Refs | README | LICENSE Back to index

.clang-format (2081B)


      1 ---
      2 Language:        Cpp
      3 # BasedOnStyle:  GNU
      4 AccessModifierOffset: -2
      5 AlignAfterOpenBracket: true
      6 AlignEscapedNewlinesLeft: false
      7 AlignOperands:   true
      8 AlignConsecutiveAssignments: true
      9 AlignTrailingComments: true
     10 AllowAllParametersOfDeclarationOnNextLine: true
     11 AllowShortBlocksOnASingleLine: false
     12 AllowShortCaseLabelsOnASingleLine: false
     13 AllowShortIfStatementsOnASingleLine: false
     14 AllowShortLoopsOnASingleLine: false
     15 AllowShortFunctionsOnASingleLine: None
     16 AlwaysBreakAfterDefinitionReturnType: false
     17 AlwaysBreakTemplateDeclarations: true
     18 AlwaysBreakBeforeMultilineStrings: false
     19 BreakBeforeBinaryOperators: None
     20 BreakBeforeTernaryOperators: false
     21 BreakConstructorInitializersBeforeComma: false
     22 BreakStringLiterals: false
     23 BinPackParameters: true
     24 BinPackArguments: true
     25 ColumnLimit:     120
     26 ConstructorInitializerAllOnOneLineOrOnePerLine: true
     27 ConstructorInitializerIndentWidth: 4
     28 DerivePointerAlignment: false
     29 ExperimentalAutoDetectBinPacking: false
     30 IndentCaseLabels: false
     31 IndentWrappedFunctionNames: false
     32 IndentFunctionDeclarationAfterType: false
     33 MaxEmptyLinesToKeep: 2
     34 KeepEmptyLinesAtTheStartOfBlocks: true
     35 NamespaceIndentation: None
     36 ObjCBlockIndentWidth: 2
     37 ObjCSpaceAfterProperty: false
     38 ObjCSpaceBeforeProtocolList: true
     39 PenaltyBreakBeforeFirstCallParameter: 19
     40 PenaltyBreakComment: 1000000
     41 PenaltyBreakString: 1000
     42 PenaltyBreakFirstLessLess: 120
     43 PenaltyExcessCharacter: 1000000
     44 PenaltyReturnTypeOnItsOwnLine: 60
     45 PointerAlignment: Right
     46 ReflowComments: false
     47 SortIncludes: true
     48 SpacesBeforeTrailingComments: 1
     49 Cpp11BracedListStyle: false
     50 Standard:        Cpp03
     51 IndentWidth:     2
     52 TabWidth:        8
     53 UseTab:          Never
     54 BreakBeforeBraces: Attach
     55 SpacesInParentheses: false
     56 SpacesInSquareBrackets: false
     57 SpacesInAngles:  false
     58 SpaceInEmptyParentheses: false
     59 SpacesInCStyleCastParentheses: false
     60 SpaceAfterCStyleCast: false
     61 SpacesInContainerLiterals: true
     62 SpaceBeforeAssignmentOperators: true
     63 ContinuationIndentWidth: 4
     64 CommentPragmas:  '^ IWYU pragma:'
     65 ForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
     66 SpaceBeforeParens: ControlStatements
     67 DisableFormat:   false
     68 ...