3 ms·
Clang-tidy (linter) can do that. IMO it's a good idea to integrate this tool to any C project. I'm using gcc for embedded projects and clang-tidy works just fin
by vbezhenar 2y ago
Clang-tidy (linter) can do that. IMO it's a good idea to integrate this tool to any C project. I'm using gcc for embedded projects and clang-tidy works just fine as a separate tool.
https://clang.llvm.org/extra/clang-tidy/checks/misc/include-cleaner.html https://clang.llvm.org/extra/clang-tidy/checks/misc/include-...