You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.clang-format 1.9KB

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: None
  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: true
  25. AfterNamespace: false
  26. AfterUnion: false
  27. BeforeCatch: false
  28. BeforeElse: true
  29. IndentBraces: false
  30. SplitEmptyFunction: true
  31. SplitEmptyRecord: true
  32. BreakBeforeBinaryOperators: None
  33. BreakBeforeTernaryOperators: true
  34. BreakConstructorInitializers: BeforeColon
  35. BreakInheritanceList: BeforeColon
  36. ColumnLimit: 0
  37. CompactNamespaces: false
  38. ContinuationIndentWidth: 4
  39. IndentCaseLabels: false
  40. IndentPPDirectives: None
  41. IndentWidth: 4
  42. KeepEmptyLinesAtTheStartOfBlocks: true
  43. MaxEmptyLinesToKeep: 2
  44. NamespaceIndentation: None
  45. ObjCSpaceAfterProperty: false
  46. ObjCSpaceBeforeProtocolList: true
  47. PointerAlignment: Right
  48. ReflowComments: false
  49. SortIncludes: Never
  50. SpaceAfterCStyleCast: true
  51. SpaceAfterLogicalNot: false
  52. SpaceAfterTemplateKeyword: false
  53. SpaceBeforeAssignmentOperators: true
  54. SpaceBeforeCpp11BracedList: false
  55. SpaceBeforeCtorInitializerColon: true
  56. SpaceBeforeInheritanceColon: true
  57. SpaceBeforeParens: ControlStatements
  58. SpaceBeforeRangeBasedForLoopColon: false
  59. SpaceInEmptyParentheses: false
  60. SpacesBeforeTrailingComments: 0
  61. SpacesInAngles: false
  62. SpacesInCStyleCastParentheses: false
  63. SpacesInContainerLiterals: false
  64. SpacesInParentheses: false
  65. SpacesInSquareBrackets: false
  66. TabWidth: 4
  67. UseTab: ForContinuationAndIndentation