Open tomchon opened 1 month ago
Thanks for reporting this issue. I am not sure if it is because of clang-query-10 versions are different.
The clang-query-10 version supported by clang-tools is 10.0.1
, but the version installed with apt install clang-tools-10
should be 10.0.0
.
If you run the apt install clang-tools-10
first and then run clang-tools --install 10 --tool clang-query
, clang-tools will link to /usr/lib/llvm-10/bin/clang-query automatically.
i want using clang-query to do Static Code Analysis. but i find some different and funny things. The test results are different when installing clang-query-10 using apt and pip method in the project. The only difference is the path used for clang-query.
It will install the clang-tools into /usr/local/bin/
test result in match :