.clang-format 809 B

123456789101112131415161718192021222324252627282930313233343536
  1. ---
  2. BasedOnStyle: GNU
  3. AlignConsecutiveMacros:
  4. Enabled: true
  5. AcrossEmptyLines: true
  6. PadOperators: true
  7. AlignOperands: DontAlign
  8. AttributeMacros:
  9. - G_GNUC_PRINTF
  10. BraceWrapping:
  11. AfterCaseLabel: true
  12. AfterClass: true
  13. AfterControlStatement: Always
  14. AfterEnum: true
  15. AfterExternBlock: true
  16. AfterFunction: true
  17. AfterNamespace: true
  18. AfterObjCDeclaration: true
  19. AfterStruct: true
  20. AfterUnion: true
  21. BeforeCatch: true
  22. BeforeElse: true
  23. BeforeLambdaBody: false
  24. BeforeWhile: true
  25. IndentBraces: false
  26. SplitEmptyFunction: true
  27. SplitEmptyRecord: true
  28. SplitEmptyNamespace: true
  29. BreakBeforeBinaryOperators: NonAssignment
  30. BreakBeforeBraces: Custom
  31. ColumnLimit: 100
  32. IndentPPDirectives: AfterHash
  33. IndentWidth: 4
  34. SortIncludes: Never
  35. SpaceAfterCStyleCast: true
  36. SpacesBeforeTrailingComments: 2