"Fossies" - the Fresh Open Source Software Archive

Member "gvm-libs-11.0.1/.clang-format" (12 May 2020, 1371 Bytes) of package /linux/misc/openvas/gvm-libs-11.0.1.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. See also the last Fossies "Diffs" side-by-side code changes report for ".clang-format": 10.0.1_vs_11.0.0.

    1 # clang-format configuration for Greenbone C code
    2 #
    3 # Minimum required clang-format version: 6.0
    4 
    5 ---
    6 AlignAfterOpenBracket: Align
    7 AlignConsecutiveAssignments: 'false'
    8 AlignConsecutiveDeclarations: 'false'
    9 AlignEscapedNewlines: Left
   10 AlignOperands: 'true'
   11 AlignTrailingComments: 'true'
   12 AllowAllParametersOfDeclarationOnNextLine: 'false'
   13 AllowShortBlocksOnASingleLine: 'false'
   14 AllowShortCaseLabelsOnASingleLine: 'false'
   15 AllowShortFunctionsOnASingleLine: None
   16 AllowShortIfStatementsOnASingleLine: 'false'
   17 AllowShortLoopsOnASingleLine: 'false'
   18 AlwaysBreakAfterReturnType: All
   19 AlwaysBreakBeforeMultilineStrings: 'false'
   20 BinPackArguments: 'true'
   21 BinPackParameters: 'true'
   22 BreakBeforeBinaryOperators: NonAssignment
   23 BreakBeforeBraces: GNU
   24 BreakBeforeTernaryOperators: 'true'
   25 BreakStringLiterals: 'true'
   26 ColumnLimit: '80'
   27 ContinuationIndentWidth: '2'
   28 DerivePointerAlignment: 'false'
   29 IncludeBlocks: Regroup
   30 IndentCaseLabels: 'false'
   31 IndentWidth: '2'
   32 IndentWrappedFunctionNames: 'false'
   33 KeepEmptyLinesAtTheStartOfBlocks: 'false'
   34 Language: Cpp
   35 MaxEmptyLinesToKeep: '1'
   36 PointerAlignment: Right
   37 ReflowComments: 'true'
   38 SortIncludes: 'true'
   39 SpaceAfterCStyleCast: 'true'
   40 SpaceBeforeAssignmentOperators: 'true'
   41 SpaceBeforeParens: Always
   42 SpaceInEmptyParentheses: 'false'
   43 SpacesInCStyleCastParentheses: 'false'
   44 SpacesInParentheses: 'false'
   45 SpacesInSquareBrackets: 'false'
   46 UseTab: Never
   47 
   48 ...