Skip to content
Snippets Groups Projects
Select Git revision
  • dc08c5c9acaaa919e9e0ba9fd62ec6fa33dfbfdf
  • master default protected
2 results

utils.ts

Blame
  • .clang-format 5.00 KiB
    ---
    BasedOnStyle: LLVM
    AccessModifierOffset: -2
    AlignAfterOpenBracket: AlwaysBreak
    AlignArrayOfStructures: Right
    AlignConsecutiveAssignments: None
    AlignConsecutiveBitFields: None
    AlignConsecutiveDeclarations: Consecutive
    AlignConsecutiveMacros: None
    AlignEscapedNewlines: Right
    AlignOperands: Align
    AlignTrailingComments: true
    AllowAllArgumentsOnNextLine: true
    AllowAllConstructorInitializersOnNextLine: true
    AllowAllParametersOfDeclarationOnNextLine: true
    AllowShortBlocksOnASingleLine: Never
    AllowShortCaseLabelsOnASingleLine: false
    AllowShortEnumsOnASingleLine: true
    AllowShortFunctionsOnASingleLine: Inline
    AllowShortIfStatementsOnASingleLine: Never
    AllowShortLambdasOnASingleLine: All
    AllowShortLoopsOnASingleLine: false
    AlwaysBreakAfterDefinitionReturnType: None
    AlwaysBreakAfterReturnType: None
    AlwaysBreakBeforeMultilineStrings: false
    AlwaysBreakTemplateDeclarations: Yes
    AttributeMacros:
      - __capability
    BinPackArguments: true
    BinPackParameters: true
    BitFieldColonSpacing: Both
    BraceWrapping:
      AfterCaseLabel: false
      AfterClass: false
      AfterControlStatement: Never
      AfterEnum: false
      AfterFunction: false
      AfterNamespace: false
      AfterObjCDeclaration: false
      AfterStruct: false
      AfterUnion: false
      AfterExternBlock: false
      BeforeCatch: false
      BeforeElse: false
      BeforeLambdaBody: false
      BeforeWhile: false
      IndentBraces: false
      SplitEmptyFunction: true
      SplitEmptyRecord: true
      SplitEmptyNamespace: true
    BreakAfterJavaFieldAnnotations: false
    BreakBeforeBinaryOperators: None
    BreakBeforeBraces: Allman
    BreakBeforeConceptDeclarations: true
    BreakBeforeTernaryOperators: true
    BreakConstructorInitializers: BeforeColon
    BreakInheritanceList: BeforeColon
    BreakStringLiterals: true
    ColumnLimit: 100
    CommentPragmas: "^ IWYU pragma:"
    CompactNamespaces: false
    ConstructorInitializerAllOnOneLineOrOnePerLine: false
    ConstructorInitializerIndentWidth: 4
    ContinuationIndentWidth: 4
    Cpp11BracedListStyle: true
    DeriveLineEnding: true
    DerivePointerAlignment: false
    DisableFormat: false
    EmptyLineAfterAccessModifier: Never
    EmptyLineBeforeAccessModifier: LogicalBlock
    ExperimentalAutoDetectBinPacking: false
    FixNamespaceComments: true
    ForEachMacros:
      - foreach
      - Q_FOREACH
      - BOOST_FOREACH
    IfMacros:
      - KJ_IF_MAYBE
    IncludeBlocks: Preserve
    IncludeCategories:
      - Regex: ^"(llvm|llvm-c|clang|clang-c)/
        Priority: 2
        SortPriority: 0
        CaseSensitive: false
      - Regex: ^(<|"(gtest|gmock|isl|json)/)
        Priority: 3
        SortPriority: 0
        CaseSensitive: false
      - Regex: .*
        Priority: 1
        SortPriority: 0
        CaseSensitive: false
    IncludeIsMainRegex: (Test)?$
    IncludeIsMainSourceRegex: ""
    IndentAccessModifiers: true
    IndentCaseBlocks: true
    IndentCaseLabels: false
    IndentExternBlock: AfterExternBlock
    IndentGotoLabels: true
    IndentPPDirectives: None
    IndentRequires: false
    IndentWidth: 4
    IndentWrappedFunctionNames: false
    InsertTrailingCommas: None
    JavaScriptQuotes: Leave
    JavaScriptWrapImports: true
    KeepEmptyLinesAtTheStartOfBlocks: true
    LambdaBodyIndentation: Signature
    Language: Cpp
    MacroBlockBegin: ""
    MacroBlockEnd: ""
    MaxEmptyLinesToKeep: 1
    NamespaceIndentation: None
    ObjCBinPackProtocolList: Auto
    ObjCBlockIndentWidth: 2
    ObjCBreakBeforeNestedBlockParam: true
    ObjCSpaceAfterProperty: false
    ObjCSpaceBeforeProtocolList: true
    PPIndentWidth: -1
    PackConstructorInitializers: BinPack
    PenaltyBreakAssignment: 2
    PenaltyBreakBeforeFirstCallParameter: 19
    PenaltyBreakComment: 300
    PenaltyBreakFirstLessLess: 120
    PenaltyBreakOpenParenthesis: 0
    PenaltyBreakString: 1000
    PenaltyBreakTemplateDeclaration: 10
    PenaltyExcessCharacter: 1000000
    PenaltyIndentedWhitespace: 0
    PenaltyReturnTypeOnItsOwnLine: 60
    PointerAlignment: Left
    QualifierAlignment: Leave
    ReferenceAlignment: Pointer
    ReflowComments: true
    RemoveBracesLLVM: false
    SeparateDefinitionBlocks: Leave
    ShortNamespaceLines: 1
    SortIncludes: CaseSensitive
    SortJavaStaticImport: Before
    SortUsingDeclarations: true
    SpaceAfterCStyleCast: false
    SpaceAfterLogicalNot: false
    SpaceAfterTemplateKeyword: true
    SpaceAroundPointerQualifiers: Default
    SpaceBeforeAssignmentOperators: true
    SpaceBeforeCaseColon: false
    SpaceBeforeCpp11BracedList: false
    SpaceBeforeCtorInitializerColon: true
    SpaceBeforeInheritanceColon: true
    SpaceBeforeParens: ControlStatements
    SpaceBeforeParensOptions:
      AfterControlStatements: true
      AfterForeachMacros: true
      AfterFunctionDeclarationName: false
      AfterFunctionDefinitionName: false
      AfterIfMacros: true
      AfterOverloadedOperator: false
      BeforeNonEmptyParentheses: false
    SpaceBeforeRangeBasedForLoopColon: true
    SpaceBeforeSquareBrackets: false
    SpaceInEmptyBlock: false
    SpaceInEmptyParentheses: false
    SpacesBeforeTrailingComments: 1
    SpacesInAngles: Never
    SpacesInCStyleCastParentheses: false
    SpacesInConditionalStatement: false
    SpacesInContainerLiterals: true
    SpacesInLineCommentPrefix:
      Minimum: 1
      Maximum: -1
    SpacesInParentheses: false
    SpacesInSquareBrackets: false
    Standard: Latest
    StatementAttributeLikeMacros:
      - Q_EMIT
    StatementMacros:
      - Q_UNUSED
      - QT_REQUIRE_VERSION
    TabWidth: 4
    UseCRLF: false
    UseTab: Never
    WhitespaceSensitiveMacros:
      - STRINGIZE
      - PP_STRINGIZE
      - BOOST_PP_STRINGIZE
      - NS_SWIFT_NAME
      - CF_SWIFT_NAME