Hacker News new | ask | show | jobs
by petr_tik 1614 days ago
you might find clang-check useful.

https://clang.llvm.org/docs/ClangCheck.html

you will need a Compilation Database (CDB) in a compile_commands.json file. I know CMake knows how to generate one, but the fact that other build systems don't shows how fragmented and user- unfriendly the cpp ecosystem is.