.clang-format 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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: true
  12. AllowShortFunctionsOnASingleLine: All
  13. AllowShortIfStatementsOnASingleLine: Never
  14. AllowShortLambdasOnASingleLine: All
  15. AllowShortLoopsOnASingleLine: false
  16. AlwaysBreakAfterReturnType: None
  17. AlwaysBreakTemplateDeclarations: Yes
  18. BreakBeforeBraces: Custom
  19. BraceWrapping:
  20. AfterCaseLabel: false
  21. AfterClass: true
  22. AfterControlStatement: Always
  23. AfterEnum: true
  24. AfterFunction: true
  25. AfterNamespace: 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: 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: Left
  48. ReflowComments: false
  49. SpaceAfterCStyleCast: true
  50. SpaceAfterLogicalNot: false
  51. SpaceAfterTemplateKeyword: true
  52. SpaceBeforeAssignmentOperators: true
  53. SpaceBeforeCpp11BracedList: true
  54. SpaceBeforeCtorInitializerColon: true
  55. SpaceBeforeInheritanceColon: true
  56. SpaceBeforeParens: Always
  57. SpaceBeforeRangeBasedForLoopColon: true
  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: ForContinuationAndIndentation