Skip to content
Snippets Groups Projects
Select Git revision
  • 6b09b1a1f3f9aa1aa6d5bc8ae62f27a6a206daf5
  • master default protected
  • 7
  • 7.10
  • 7.10.2
  • 7.10.1
  • 7.10.0
  • 7.9
  • 7.9.2
  • 7.9.1
  • 7.9.0
  • 7.8.3
  • 7.8.2
  • 7.8.1
  • 7.8
  • 7.8.0
  • 7.7
  • 7.7.1
  • 7.7.0
  • 7.6
  • 7.6.0
  • 7.5
22 results

post-release.sh

Blame
  • clang-format 1.89 KiB
    ---
    # Format file from: https://github.com/PickNikRobotics/roscpp_code_format (75a84b075d648828b7aa64094699e5ab5cc7adb7)
    BasedOnStyle: Google
    AccessModifierOffset: -2
    ConstructorInitializerIndentWidth: 2
    AlignEscapedNewlinesLeft: false
    AlignTrailingComments: true
    AllowAllParametersOfDeclarationOnNextLine: false
    AllowShortIfStatementsOnASingleLine: false
    AllowShortLoopsOnASingleLine: false
    AllowShortFunctionsOnASingleLine: None
    AlwaysBreakTemplateDeclarations: true
    AlwaysBreakBeforeMultilineStrings: true
    BreakBeforeBinaryOperators: false
    BreakBeforeTernaryOperators: false
    BreakConstructorInitializersBeforeComma: true
    BinPackParameters: true
    ColumnLimit: 120
    ConstructorInitializerAllOnOneLineOrOnePerLine: true
    DerivePointerBinding: false
    PointerBindsToType: true
    ExperimentalAutoDetectBinPacking: false
    IndentCaseLabels: true
    MaxEmptyLinesToKeep: 1
    NamespaceIndentation: None
    ObjCSpaceBeforeProtocolList: true
    PenaltyBreakBeforeFirstCallParameter: 19
    PenaltyBreakComment: 60
    PenaltyBreakString: 1
    PenaltyBreakFirstLessLess: 1000
    PenaltyExcessCharacter: 1000
    PenaltyReturnTypeOnItsOwnLine: 90
    SpacesBeforeTrailingComments: 2
    Cpp11BracedListStyle: false
    Standard: Auto
    IndentWidth: 2
    TabWidth: 2
    UseTab: Never
    IndentFunctionDeclarationAfterType: false
    SpacesInParentheses: false
    SpacesInAngles: false
    SpaceInEmptyParentheses: false
    SpacesInCStyleCastParentheses: false
    SpaceAfterControlStatementKeyword: true
    SpaceBeforeAssignmentOperators: true
    ContinuationIndentWidth: 4
    SortIncludes: false
    SpaceAfterCStyleCast: false
    
    # Configure each individual brace in BraceWrapping
    BreakBeforeBraces: Custom
    
    # Control of individual brace wrapping cases
    BraceWrapping: {
        AfterClass: 'true'
        AfterControlStatement: 'true'
        AfterEnum : 'true'
        AfterFunction : 'true'
        AfterNamespace : 'true'
        AfterStruct : 'true'
        AfterUnion : 'true'
        BeforeCatch : 'true'
        BeforeElse : 'true'
        IndentBraces : 'false'
    }
    ...