cppcheck
cppcheck copied to clipboard
Rework compile_commands.json import
There has been multiple issues with the import lately, and (my) fixes have been a bit hacky. With this change, command is first split similarily to how the shell would, and is then handled like the arguments field. For extracting compiler options, the argument list is handled like the compiler would read argv. I believe this will be easier to maintain in the future.
The clang-tidy warning seems to be a false positive, I have reported it here: https://github.com/llvm/llvm-project/issues/172018
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code