Advertisement
hnOsmium0001

Untitled

May 12th, 2021
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.74 KB | None | 0 0
  1. # Commented out parameters are those with the same value as base LLVM style
  2. # We can uncomment them if we want to change their value, or enforce the
  3. # chosen value in case the base style changes (last sync: Clang 6.0.1).
  4. ---
  5. ### General config, applies to all languages ###
  6. BasedOnStyle: LLVM
  7. AccessModifierOffset: -4
  8. AlignAfterOpenBracket: DontAlign
  9. # AlignConsecutiveAssignments: false
  10. # AlignConsecutiveDeclarations: false
  11. # AlignEscapedNewlines: Right
  12. AlignOperands: false
  13. AlignTrailingComments: false
  14. AllowAllParametersOfDeclarationOnNextLine: true
  15. AllowAllArgumentsOnNextLine: true
  16. # AllowShortBlocksOnASingleLine: false
  17. AllowShortCaseLabelsOnASingleLine: true
  18. AllowShortFunctionsOnASingleLine: All
  19. AllowShortIfStatementsOnASingleLine: true
  20. # AllowShortLoopsOnASingleLine: false
  21. # AlwaysBreakAfterDefinitionReturnType: None
  22. # AlwaysBreakAfterReturnType: None
  23. # AlwaysBreakBeforeMultilineStrings: false
  24. AlwaysBreakTemplateDeclarations: MultiLine
  25. BinPackArguments: false
  26. BinPackParameters: false
  27. BraceWrapping:
  28. AfterClass: true
  29. AfterControlStatement: MultiLine
  30. AfterEnum: true
  31. AfterFunction: true
  32. AfterNamespace: false
  33. AfterObjCDeclaration: false
  34. AfterStruct: true
  35. AfterUnion: true
  36. AfterExternBlock: false
  37. BeforeCatch: false
  38. BeforeElse: false
  39. IndentBraces: false
  40. SplitEmptyFunction: true
  41. SplitEmptyRecord: true
  42. SplitEmptyNamespace: true
  43. # BreakBeforeBinaryOperators: None
  44. BreakBeforeBraces: Custom
  45. # BreakBeforeInheritanceComma: false
  46. BreakBeforeTernaryOperators: true
  47. BreakConstructorInitializers: BeforeComma
  48. # BreakStringLiterals: true
  49. ColumnLimit: 0
  50. # CommentPragmas: '^ IWYU pragma:'
  51. # CompactNamespaces: false
  52. ConstructorInitializerAllOnOneLineOrOnePerLine: true
  53. ConstructorInitializerIndentWidth: 4
  54. ContinuationIndentWidth: 4
  55. Cpp11BracedListStyle: false
  56. # DerivePointerAlignment: false
  57. # DisableFormat: false
  58. # ExperimentalAutoDetectBinPacking: false
  59. # FixNamespaceComments: true
  60. # ForEachMacros:
  61. # - foreach
  62. # - Q_FOREACH
  63. # - BOOST_FOREACH
  64. # IncludeBlocks: Preserve
  65. IncludeCategories:
  66. - Regex: '".*"'
  67. Priority: 1
  68. - Regex: '^<.*\.h>'
  69. Priority: 2
  70. - Regex: '^<.*'
  71. Priority: 3
  72. # IncludeIsMainRegex: '(Test)?$'
  73. IndentCaseLabels: true
  74. IndentPPDirectives: AfterHash
  75. IndentWidth: 4
  76. # IndentWrappedFunctionNames: false
  77. # JavaScriptQuotes: Leave
  78. # JavaScriptWrapImports: true
  79. # KeepEmptyLinesAtTheStartOfBlocks: true
  80. # MacroBlockBegin: ''
  81. # MacroBlockEnd: ''
  82. # MaxEmptyLinesToKeep: 1
  83. NamespaceIndentation: Inner
  84. # PenaltyBreakAssignment: 2
  85. # PenaltyBreakBeforeFirstCallParameter: 19
  86. # PenaltyBreakComment: 300
  87. # PenaltyBreakFirstLessLess: 120
  88. # PenaltyBreakString: 1000
  89. # PenaltyExcessCharacter: 1000000
  90. # PenaltyReturnTypeOnItsOwnLine: 60
  91. PointerAlignment: Left
  92. # RawStringFormats:
  93. # - Delimiter: pb
  94. # Language: TextProto
  95. # BasedOnStyle: google
  96. # ReflowComments: true
  97. # SortIncludes: true
  98. # SortUsingDeclarations: true
  99. # SpaceAfterCStyleCast: false
  100. # SpaceAfterTemplateKeyword: true
  101. # SpaceBeforeAssignmentOperators: true
  102. # SpaceBeforeParens: ControlStatements
  103. # SpaceInEmptyParentheses: false
  104. # SpacesBeforeTrailingComments: 1
  105. # SpacesInAngles: false
  106. # SpacesInContainerLiterals: true
  107. # SpacesInCStyleCastParentheses: false
  108. # SpacesInParentheses: false
  109. # SpacesInSquareBrackets: false
  110. TabWidth: 4
  111. UseTab: Always
  112. ---
  113. ### C++ specific config ###
  114. Language: Cpp
  115. Standard: Cpp11
  116. ---
  117. ### ObjC specific config ###
  118. Language: ObjC
  119. ObjCBlockIndentWidth: 4
  120. # ObjCSpaceAfterProperty: false
  121. # ObjCSpaceBeforeProtocolList: true
  122. ---
  123. ### Java specific config ###
  124. Language: Java
  125. # BreakAfterJavaFieldAnnotations: false
  126. ...
  127.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement