.clang-format 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # Generated from CLion C/C++ Code Style settings
  2. BasedOnStyle: LLVM
  3. AlignAfterOpenBracket: Align
  4. AlignConsecutiveAssignments: None
  5. AlignOperands: Align
  6. AllowAllArgumentsOnNextLine: false
  7. AllowAllConstructorInitializersOnNextLine: false
  8. AllowAllParametersOfDeclarationOnNextLine: false
  9. AllowShortBlocksOnASingleLine: Always
  10. AllowShortCaseLabelsOnASingleLine: false
  11. AllowShortFunctionsOnASingleLine: None
  12. AllowShortIfStatementsOnASingleLine: Never
  13. AllowShortLambdasOnASingleLine: All
  14. AllowShortLoopsOnASingleLine: false
  15. AlwaysBreakAfterReturnType: None
  16. AlwaysBreakTemplateDeclarations: Yes
  17. BreakBeforeBraces: Custom
  18. BraceWrapping:
  19. AfterCaseLabel: true
  20. AfterClass: true
  21. AfterControlStatement: Always
  22. AfterEnum: true
  23. AfterFunction: true
  24. AfterNamespace: true
  25. AfterStruct: true
  26. AfterUnion: true
  27. BeforeCatch: true
  28. BeforeElse: true
  29. IndentBraces: false
  30. SplitEmptyFunction: false
  31. SplitEmptyRecord: true
  32. BreakBeforeBinaryOperators: None
  33. BreakBeforeTernaryOperators: true
  34. BreakConstructorInitializers: BeforeColon
  35. BreakInheritanceList: BeforeColon
  36. ColumnLimit: 700
  37. CompactNamespaces: true
  38. ContinuationIndentWidth: 4
  39. EmptyLineAfterAccessModifier: Always
  40. FixNamespaceComments: false
  41. IndentAccessModifiers: true
  42. IndentCaseLabels: true
  43. IndentPPDirectives: BeforeHash
  44. IndentWidth: 2
  45. KeepEmptyLinesAtTheStartOfBlocks: true
  46. MaxEmptyLinesToKeep: 2
  47. NamespaceIndentation: All
  48. ObjCSpaceAfterProperty: false
  49. ObjCSpaceBeforeProtocolList: true
  50. PointerAlignment: Right
  51. ReflowComments: false
  52. SortIncludes: CaseSensitive
  53. SpaceAfterCStyleCast: true
  54. SpaceAfterLogicalNot: false
  55. SpaceAfterTemplateKeyword: false
  56. SpaceBeforeAssignmentOperators: true
  57. SpaceBeforeCpp11BracedList: false
  58. SpaceBeforeCtorInitializerColon: true
  59. SpaceBeforeInheritanceColon: true
  60. SpaceBeforeParens: ControlStatements
  61. SpaceBeforeRangeBasedForLoopColon: true
  62. SpaceInEmptyParentheses: false
  63. SpacesBeforeTrailingComments: 1
  64. SpacesInAngles: false
  65. SpacesInCStyleCastParentheses: false
  66. SpacesInContainerLiterals: false
  67. SpacesInParentheses: false
  68. SpacesInSquareBrackets: false
  69. TabWidth: 2
  70. UseTab: Never