Closed JacobVarghese1992 closed 2 years ago
scan-build on individual files in compile_commands.json works but running analyze-build passing -cbd does not
https://stackoverflow.com/questions/71332292/how-do-i-use-analyze-build-to-perform-static-analysis-on-android-c-project
if you have a JSON compilation database (compile_commands.json), then call clang-tidy instead. (clang-tidy also runs the static analyzer, plus a few other checks.)
compile_commands.json
clang-tidy
https://clang.llvm.org/extra/clang-tidy/
scan-build on individual files in compile_commands.json works but running analyze-build passing -cbd does not
https://stackoverflow.com/questions/71332292/how-do-i-use-analyze-build-to-perform-static-analysis-on-android-c-project