"Fossies" - the Fresh Open Source Software Archive

Member "pytorch-1.8.2/.clang-format" (23 Jul 2021, 2569 Bytes) of package /linux/misc/pytorch-1.8.2.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ---
    2 AccessModifierOffset: -1
    3 AlignAfterOpenBracket: AlwaysBreak
    4 AlignConsecutiveAssignments: false
    5 AlignConsecutiveDeclarations: false
    6 AlignEscapedNewlinesLeft: true
    7 AlignOperands:   false
    8 AlignTrailingComments: false
    9 AllowAllParametersOfDeclarationOnNextLine: false
   10 AllowShortBlocksOnASingleLine: false
   11 AllowShortCaseLabelsOnASingleLine: false
   12 AllowShortFunctionsOnASingleLine: Empty
   13 AllowShortIfStatementsOnASingleLine: false
   14 AllowShortLoopsOnASingleLine: false
   15 AlwaysBreakAfterReturnType: None
   16 AlwaysBreakBeforeMultilineStrings: true
   17 AlwaysBreakTemplateDeclarations: true
   18 BinPackArguments: false
   19 BinPackParameters: false
   20 BraceWrapping:
   21   AfterClass:      false
   22   AfterControlStatement: false
   23   AfterEnum:       false
   24   AfterFunction:   false
   25   AfterNamespace:  false
   26   AfterObjCDeclaration: false
   27   AfterStruct:     false
   28   AfterUnion:      false
   29   BeforeCatch:     false
   30   BeforeElse:      false
   31   IndentBraces:    false
   32 BreakBeforeBinaryOperators: None
   33 BreakBeforeBraces: Attach
   34 BreakBeforeTernaryOperators: true
   35 BreakConstructorInitializersBeforeComma: false
   36 BreakAfterJavaFieldAnnotations: false
   37 BreakStringLiterals: false
   38 ColumnLimit:     80
   39 CommentPragmas:  '^ IWYU pragma:'
   40 CompactNamespaces: false
   41 ConstructorInitializerAllOnOneLineOrOnePerLine: true
   42 ConstructorInitializerIndentWidth: 4
   43 ContinuationIndentWidth: 4
   44 Cpp11BracedListStyle: true
   45 DerivePointerAlignment: false
   46 DisableFormat:   false
   47 ForEachMacros:   [ FOR_EACH_RANGE, FOR_EACH, ]
   48 IncludeCategories:
   49   - Regex:           '^<.*\.h(pp)?>'
   50     Priority:        1
   51   - Regex:           '^<.*'
   52     Priority:        2
   53   - Regex:           '.*'
   54     Priority:        3
   55 IndentCaseLabels: true
   56 IndentWidth:     2
   57 IndentWrappedFunctionNames: false
   58 KeepEmptyLinesAtTheStartOfBlocks: false
   59 MacroBlockBegin: ''
   60 MacroBlockEnd:   ''
   61 MaxEmptyLinesToKeep: 1
   62 NamespaceIndentation: None
   63 ObjCBlockIndentWidth: 2
   64 ObjCSpaceAfterProperty: false
   65 ObjCSpaceBeforeProtocolList: false
   66 PenaltyBreakBeforeFirstCallParameter: 1
   67 PenaltyBreakComment: 300
   68 PenaltyBreakFirstLessLess: 120
   69 PenaltyBreakString: 1000
   70 PenaltyExcessCharacter: 1000000
   71 PenaltyReturnTypeOnItsOwnLine: 2000000
   72 PointerAlignment: Left
   73 ReflowComments:  true
   74 SortIncludes:    true
   75 SpaceAfterCStyleCast: false
   76 SpaceBeforeAssignmentOperators: true
   77 SpaceBeforeParens: ControlStatements
   78 SpaceInEmptyParentheses: false
   79 SpacesBeforeTrailingComments: 1
   80 SpacesInAngles:  false
   81 SpacesInContainerLiterals: true
   82 SpacesInCStyleCastParentheses: false
   83 SpacesInParentheses: false
   84 SpacesInSquareBrackets: false
   85 Standard:        Cpp11
   86 TabWidth:        8
   87 UseTab:          Never
   88 ...