u/Bokkutoin r/embedded • Recommends
On “clang-tidy: Which check flags you typically use?”
I sadly don't use it yet at my workplace, but I would look into Jason Turner's content about clang-tidy. There's a C++ template that has a clang-tidy file (with integration with CMake). And he has two videos, that talk about clang-tidy, that I thought might help you.
Here are the links:
- clang-tidy file of the C++ Project Template
- C++ Weekly - Ep 3 Intro to clang-tidy
- C++ Weekly - Ep 148 - clang-tidy Checks To Avoid
I'm sure there's probably other videos of his that can be useful. But I think that's where I would start to look if I were looking for advice about clang-tidy. Although his advice might not be for embedded specifically, so you might need to adapt. I hope this helps :…