Advertisement
es3n1n

.clang-format

Jun 8th, 2022 (edited)
1,163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 3.25 KB | None | 0 0
  1. # es3n1n's clang-format, last upd 13 aug 2022 23:07:09
  2. ---
  3. AlignAfterOpenBracket: Align
  4. AlignEscapedNewlines: Left
  5. AlignOperands: Align
  6. AlignTrailingComments: false
  7. AllowAllArgumentsOnNextLine: false
  8. AllowAllParametersOfDeclarationOnNextLine: false
  9. AllowShortBlocksOnASingleLine: Empty
  10. AllowShortCaseLabelsOnASingleLine: false
  11. AllowShortLambdasOnASingleLine: Inline
  12. AllowShortEnumsOnASingleLine: false
  13. AllowShortFunctionsOnASingleLine: Empty
  14. AllowShortIfStatementsOnASingleLine: Never
  15. AllowShortLoopsOnASingleLine: false
  16. AlwaysBreakAfterReturnType: None
  17. AlwaysBreakBeforeMultilineStrings: false
  18. AlwaysBreakTemplateDeclarations: Yes
  19. BasedOnStyle: WebKit
  20. BinPackArguments: true
  21. BinPackParameters: true
  22. BitFieldColonSpacing: None
  23. BraceWrapping:
  24.   AfterCaseLabel: false
  25.   AfterClass: false
  26.   AfterControlStatement: false
  27.   AfterEnum: false
  28.   AfterFunction: false
  29.   AfterNamespace: false
  30.   AfterObjCDeclaration: false
  31.   AfterStruct: false
  32.   AfterUnion: false
  33.   AfterExternBlock: false
  34.   BeforeCatch: false
  35.   BeforeElse: false
  36.   IndentBraces: false
  37.   SplitEmptyFunction: false
  38.   SplitEmptyRecord: false
  39.   SplitEmptyNamespace: false
  40.   BeforeLambdaBody: false
  41.   BeforeWhile: false
  42. BreakBeforeBinaryOperators: None
  43. BreakBeforeBraces: Custom
  44. BreakBeforeInheritanceComma: false
  45. BreakInheritanceList: BeforeColon
  46. BreakBeforeConceptDeclarations: false
  47. BreakBeforeTernaryOperators: false
  48. BreakConstructorInitializers: BeforeColon
  49. BreakAfterJavaFieldAnnotations: false
  50. BreakStringLiterals: true
  51. ColumnLimit: 155
  52. CommentPragmas: true
  53. CompactNamespaces: false
  54. ConstructorInitializerAllOnOneLineOrOnePerLine: false
  55. ConstructorInitializerIndentWidth : 4
  56. ContinuationIndentWidth: 4
  57. Cpp11BracedListStyle: true
  58. DeriveLineEnding: true
  59. DerivePointerAlignment: false
  60. EmptyLineBeforeAccessModifier: Never
  61. ExperimentalAutoDetectBinPacking: false
  62. FixNamespaceComments: true
  63. IncludeBlocks: Preserve
  64. IndentCaseBlocks: false
  65. IndentCaseLabels: false
  66. IndentExternBlock: Indent
  67. IndentGotoLabels: false
  68. IndentPPDirectives: BeforeHash
  69. IndentRequires: false
  70. IndentWrappedFunctionNames: false
  71. InsertTrailingCommas: None
  72. Language: Cpp
  73. NamespaceIndentation: All
  74. PenaltyBreakAssignment: 2
  75. PenaltyBreakBeforeFirstCallParameter: 19
  76. PenaltyBreakComment: 300
  77. PenaltyBreakFirstLessLess: 120
  78. PenaltyBreakString: 1000
  79. PenaltyBreakTemplateDeclaration: 10
  80. PenaltyExcessCharacter: 1000000
  81. PenaltyIndentedWhitespace: 0
  82. PenaltyReturnTypeOnItsOwnLine: 60
  83. PointerAlignment: Left
  84. ReflowComments: true
  85. SortIncludes: true
  86. SortUsingDeclarations: true
  87. SpaceAfterCStyleCast: false
  88. SpaceAfterLogicalNot: false
  89. SpaceAfterTemplateKeyword: true
  90. SpaceAroundPointerQualifiers: Default
  91. SpaceBeforeAssignmentOperators: true
  92. SpaceBeforeCaseColon: false
  93. SpaceBeforeCpp11BracedList: false
  94. SpaceBeforeCtorInitializerColon: false
  95. SpaceBeforeInheritanceColon: true
  96. SpaceBeforeParens: ControlStatements
  97. SpaceBeforeRangeBasedForLoopColon: true
  98. SpaceBeforeSquareBrackets: false
  99. SpaceInEmptyBlock: true
  100. SpaceInEmptyParentheses: false
  101. SpacesBeforeTrailingComments: 1
  102. SpacesInAngles: false
  103. SpacesInContainerLiterals: true
  104. SpacesInCStyleCastParentheses: false
  105. SpacesInConditionalStatement: false
  106. SpacesInParentheses: false
  107. SpacesInSquareBrackets: false
  108. Standard: Latest
  109. TabWidth: 8
  110. UseCRLF: false
  111. ...
  112.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement