Skip to content
Snippets Groups Projects
Select Git revision
  • main
  • Publication_Samsung_35E_Model
2 results

.clang-format

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    .clang-format 1.32 KiB
    ---
    Language:        Cpp
    AccessModifierOffset: 0
    AlignEscapedNewlinesLeft: true
    AlignTrailingComments: true
    AllowAllParametersOfDeclarationOnNextLine: true
    AllowShortFunctionsOnASingleLine: true
    AllowShortIfStatementsOnASingleLine: false 
    AllowShortLoopsOnASingleLine: false
    AlwaysBreakBeforeMultilineStrings: true
    AlwaysBreakTemplateDeclarations: true
    BinPackParameters: true
    BreakBeforeBinaryOperators: false
    BreakBeforeBraces: Allman
    BreakBeforeTernaryOperators: false
    BreakConstructorInitializersBeforeComma: true
    ColumnLimit: 120
    ConstructorInitializerAllOnOneLineOrOnePerLine: false 
    ConstructorInitializerIndentWidth: 4
    ContinuationIndentWidth: 1
    Cpp11BracedListStyle: true
    DerivePointerBinding: true
    IndentCaseLabels: true
    IndentFunctionDeclarationAfterType: false
    IndentWidth: 4
    MaxEmptyLinesToKeep: 2
    NamespaceIndentation: None
    PenaltyBreakBeforeFirstCallParameter: 120
    PenaltyBreakComment: 100
    PenaltyBreakFirstLessLess: 0
    PenaltyBreakString: 100
    PenaltyExcessCharacter: 1
    PenaltyReturnTypeOnItsOwnLine: 20
    SortIncludes: true
    SpaceBeforeAssignmentOperators: true
    SpaceBeforeParens: ControlStatements
    SpaceInEmptyParentheses: false
    SpacesBeforeTrailingComments: 4
    SpacesInAngles: true
    SpacesInCStyleCastParentheses: false
    SpacesInContainerLiterals: false
    SpacesInParentheses: true
    Standard: Cpp03
    TabWidth: 4
    UseTab: Never
    CommentPragmas:  '/<'