.clang-tidy 1.9 KB

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