.clang-tidy 1.2 KB

12345678910111213141516171819202122232425262728
  1. Checks: 'modernize-*,modernize-use-override,google-*,-google-runtime-references,misc-*,clang-analyzer-*'
  2. WarningsAsErrors: ''
  3. HeaderFilterRegex: 'async.h|async_logger.h|common.h|details|formatter.h|logger.h|sinks|spdlog.h|tweakme.h|version.h'
  4. AnalyzeTemporaryDtors: false
  5. FormatStyle: none
  6. CheckOptions:
  7. - key: google-readability-braces-around-statements.ShortStatementLines
  8. value: '1'
  9. - key: google-readability-function-size.StatementThreshold
  10. value: '800'
  11. - key: google-readability-namespace-comments.ShortNamespaceLines
  12. value: '10'
  13. - key: google-readability-namespace-comments.SpacesBeforeComments
  14. value: '2'
  15. - key: modernize-loop-convert.MaxCopySize
  16. value: '16'
  17. - key: modernize-loop-convert.MinConfidence
  18. value: reasonable
  19. - key: modernize-loop-convert.NamingStyle
  20. value: CamelCase
  21. - key: modernize-pass-by-value.IncludeStyle
  22. value: llvm
  23. - key: modernize-replace-auto-ptr.IncludeStyle
  24. value: llvm
  25. - key: modernize-use-nullptr.NullMacros
  26. value: 'NULL'