Skip to content
Snippets Groups Projects
Select Git revision
  • c74ce5e8b1063ca7502ec3e285b66ef5d92d315e
  • master default protected
  • staggered-max
  • unifed-object
  • no_Amalgamated
  • standard_stb
  • parallel_doc_fix
  • release_0.9.3
  • cmake_mpich_tests
  • update_install
  • external_VORO
  • cmake_add_soversion
  • iterative_method
  • cmake_install
  • fixes_042023
  • tensor_max
  • personal/schulz3/tensor_max
  • releases/v0.9
  • ForceBasedDevel
  • refactor
  • feature/simple_test_cases
  • v0.9.3
  • v0.9.2
  • v0.9.1
  • v0.9.0
  • v0.9.0-rc2
26 results

test_project_cmake.sh

Blame
  • .clang-format 2.39 KiB
    #-------------------------------------------------------------------------------
    # SPDX-License-Identifier: Apache-2.0
    # SPDX-FileCopyrightText: (C) 2020, Jayesh Badwaik <jayesh@badwaik.dev>
    #-------------------------------------------------------------------------------
    ---
    Language:        Cpp
    # BasedOnStyle:  LLVM
    AccessModifierOffset: -2
    AlignAfterOpenBracket: AlwaysBreak
    AlignEscapedNewlinesLeft: false
    AlignOperands:   true
    AlignTrailingComments: true
    AllowAllParametersOfDeclarationOnNextLine: true
    AllowShortBlocksOnASingleLine: false
    AllowShortCaseLabelsOnASingleLine: false
    AllowShortIfStatementsOnASingleLine: false
    AllowShortLoopsOnASingleLine: false
    AllowShortFunctionsOnASingleLine: InlineOnly
    AlwaysBreakAfterDefinitionReturnType: false
    AlwaysBreakTemplateDeclarations: true
    AlwaysBreakBeforeMultilineStrings: true
    BreakBeforeBinaryOperators: true
    BreakBeforeTernaryOperators: true
    BreakConstructorInitializersBeforeComma: false
    BinPackParameters: false
    BinPackArguments: false
    ColumnLimit:  100
    ConstructorInitializerAllOnOneLineOrOnePerLine: true
    ConstructorInitializerIndentWidth: 0
    DerivePointerAlignment: false
    ExperimentalAutoDetectBinPacking: false
    IndentCaseLabels: false
    IndentWrappedFunctionNames: false
    IndentFunctionDeclarationAfterType: false
    MaxEmptyLinesToKeep: 1
    KeepEmptyLinesAtTheStartOfBlocks: true
    NamespaceIndentation: None
    ObjCBlockIndentWidth: 2
    ObjCSpaceAfterProperty: false
    ObjCSpaceBeforeProtocolList: true
    PenaltyBreakBeforeFirstCallParameter: 19
    PenaltyBreakComment: 300
    PenaltyBreakString: 1000
    PenaltyBreakFirstLessLess: 120
    PenaltyExcessCharacter: 1000000
    PenaltyReturnTypeOnItsOwnLine: 1000000
    PointerAlignment: Left
    SpacesBeforeTrailingComments: 1
    Cpp11BracedListStyle: true
    Standard:        Cpp11
    IndentWidth:     2
    TabWidth:        2
    UseTab:          Never
    BreakBeforeBraces: Stroustrup
    SpacesInParentheses: false
    SpacesInSquareBrackets: false
    SpacesInAngles:  false
    SpaceInEmptyParentheses: false
    SpacesInCStyleCastParentheses: false
    SpaceAfterCStyleCast: false
    SpacesInContainerLiterals: true
    SpaceBeforeAssignmentOperators: true
    ContinuationIndentWidth: 2
    CommentPragmas:  '^ IWYU pragma:'
    SortIncludes: 'CaseSensitive'
    SpaceBeforeParens: ControlStatements
    DisableFormat:   false
    StatementMacros: [
      'COTA_GLOBAL',
      'COTA_HOST',
      'COTA_DEVICE',
      'COTA_HOST_DEVICE',
      'NOLA_GLOBAL',
      'NOLA_HOST',
      'NOLA_DEVICE',
      'NOLA_HOST_DEVICE'
    ]
    ...
    ...
    Language: Json
    BasedOnStyle: llvm
    ...