.clang-tidy 2.2 KB

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