.clang-tidy 1.1 KB

12345678910111213141516171819202122
  1. # Don't use the C++ new,delete check since it doesn't work with Qt.
  2. # Enable a bunch of modernization checks
  3. Checks: '-clang-analyzer-cplusplus.NewDeleteLeaks,misc-forward-declaration-namespace,modernize-use-auto,modernize-use-nullptr,modernize-redudant-void-arg,readability-inconsistent-declaration-parameter-name,readability-simplify-boolean-expr,readability-container-size-empty,performance-for-range-copy,readability-identifier-naming'
  4. CheckOptions:
  5. - key: readability-identifier-naming.ClassCase
  6. value: CamelCase
  7. - key: readability-identifier-naming.EnumCase
  8. value: CamelCase
  9. - key: readability-identifier-naming.FunctionCase
  10. value: lowerCase
  11. - key: readability-identifier-naming.GlobalFunction
  12. value: CamelCase
  13. - key: readability-identifier-naming.GlobalVarableCase
  14. value: camelBack
  15. - key: readability-identifier-naming.GlobalVariablePrefix
  16. value: g_
  17. - key: readability-identifier-naming.VariableCase
  18. value: camelBack
  19. - key: readability-identifier-naming.MemberPrefix
  20. value: m_
  21. - key: readability-identifier-naming.MemberCase
  22. value: camelBack