.clang-format 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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: true
  15. AlwaysBreakAfterReturnType: None
  16. AlwaysBreakTemplateDeclarations: Yes
  17. BreakBeforeBraces: Custom
  18. BraceWrapping:
  19. AfterCaseLabel: false
  20. AfterClass: true
  21. AfterControlStatement: Always
  22. AfterEnum: true
  23. AfterFunction: true
  24. AfterNamespace: true
  25. AfterUnion: true
  26. BeforeCatch: true
  27. BeforeElse: true
  28. IndentBraces: false
  29. SplitEmptyFunction: false
  30. SplitEmptyRecord: true
  31. BreakBeforeBinaryOperators: None
  32. BreakBeforeTernaryOperators: true
  33. BreakConstructorInitializers: BeforeColon
  34. BreakInheritanceList: BeforeColon
  35. ColumnLimit: 700
  36. CompactNamespaces: false
  37. ContinuationIndentWidth: 4
  38. EmptyLineAfterAccessModifier: Always
  39. FixNamespaceComments: false
  40. IndentAccessModifiers: true
  41. IndentCaseLabels: true
  42. IndentPPDirectives: BeforeHash
  43. IndentWidth: 2
  44. KeepEmptyLinesAtTheStartOfBlocks: true
  45. MaxEmptyLinesToKeep: 2
  46. NamespaceIndentation: All
  47. ObjCSpaceAfterProperty: false
  48. ObjCSpaceBeforeProtocolList: true
  49. PointerAlignment: Right
  50. ReflowComments: false
  51. SortIncludes: CaseSensitive
  52. SpaceAfterCStyleCast: true
  53. SpaceAfterLogicalNot: false
  54. SpaceAfterTemplateKeyword: false
  55. SpaceBeforeAssignmentOperators: true
  56. SpaceBeforeCpp11BracedList: false
  57. SpaceBeforeCtorInitializerColon: true
  58. SpaceBeforeInheritanceColon: true
  59. SpaceBeforeParens: ControlStatements
  60. SpaceBeforeRangeBasedForLoopColon: false
  61. SpaceInEmptyParentheses: false
  62. SpacesBeforeTrailingComments: 0
  63. SpacesInAngles: false
  64. SpacesInCStyleCastParentheses: false
  65. SpacesInContainerLiterals: false
  66. SpacesInParentheses: false
  67. SpacesInSquareBrackets: false
  68. TabWidth: 2
  69. UseTab: Never