.clang-format 1.9 KB

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