.clang-tidy 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ---
  2. Checks: 'clang-diagnostic-*,clang-analyzer-*,-*,cppcoreguidelines-pro-type-member-init,modernize-redundant-void-arg,modernize-use-bool-literals,modernize-use-default-member-init,modernize-use-nullptr,readability-braces-around-statements,readability-redundant-member-init'
  3. WarningsAsErrors: ''
  4. HeaderFilterRegex: ''
  5. FormatStyle: none
  6. CheckOptions:
  7. - key: cert-dcl16-c.NewSuffixes
  8. value: 'L;LL;LU;LLU'
  9. - key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
  10. value: '0'
  11. - key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
  12. value: '1'
  13. - key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
  14. value: '1'
  15. - key: cppcoreguidelines-pro-type-member-init.IgnoreArrays
  16. value: '1'
  17. - key: cppcoreguidelines-pro-type-member-init.UseAssignment
  18. value: '1'
  19. - key: google-readability-function-size.StatementThreshold
  20. value: '800'
  21. - key: google-readability-namespace-comments.ShortNamespaceLines
  22. value: '10'
  23. - key: google-readability-namespace-comments.SpacesBeforeComments
  24. value: '2'
  25. - key: modernize-loop-convert.MaxCopySize
  26. value: '16'
  27. - key: modernize-loop-convert.MinConfidence
  28. value: reasonable
  29. - key: modernize-loop-convert.NamingStyle
  30. value: CamelCase
  31. - key: modernize-pass-by-value.IncludeStyle
  32. value: llvm
  33. - key: modernize-replace-auto-ptr.IncludeStyle
  34. value: llvm
  35. - key: modernize-use-bool-literals.IgnoreMacros
  36. value: '0'
  37. - key: modernize-use-default-member-init.IgnoreMacros
  38. value: '0'
  39. - key: modernize-use-default-member-init.UseAssignment
  40. value: '1'
  41. - key: modernize-use-nullptr.NullMacros
  42. value: 'NULL'
  43. - key: readability-braces-around-statements.ShortStatementLines
  44. value: '0'
  45. ...