2019-08-29, 20:24
Hi,
this is a question for active Kodi developers.
Background
clang-tidy is a tool for code analysis. It finds typical programming mistakes and can also modernize the codebase. I use it on all of my C++ projects and it has helped me find quite a few bugs even if just minor ones.
Question
Is clang-tidy used anywhere in Kodi's codebase, i.e. is it part of Kodi's Jenkins builds?
I find a few pull requests that fix some issues found with clang-tidy (see https://github.com/xbmc/xbmc/pulls?utf8=...clang-tidy ) but nothing else.
If nobody has a strong opinion about this then I'd like to fix some issues reported by it from time to time. Fixing small issues helps me understand the code better and let's me dig deeper into the project.
It may be worth to add it to Kodi's build process in the (far) future as well if it isn't part of it, yet. :-)
Regards,
Andre
this is a question for active Kodi developers.
Background
clang-tidy is a tool for code analysis. It finds typical programming mistakes and can also modernize the codebase. I use it on all of my C++ projects and it has helped me find quite a few bugs even if just minor ones.
Question
Is clang-tidy used anywhere in Kodi's codebase, i.e. is it part of Kodi's Jenkins builds?
I find a few pull requests that fix some issues found with clang-tidy (see https://github.com/xbmc/xbmc/pulls?utf8=...clang-tidy ) but nothing else.
If nobody has a strong opinion about this then I'd like to fix some issues reported by it from time to time. Fixing small issues helps me understand the code better and let's me dig deeper into the project.
It may be worth to add it to Kodi's build process in the (far) future as well if it isn't part of it, yet. :-)
Regards,
Andre