Ericsson / CodecheckerVSCodePlugin

VSCode plugin that shows bugs detected by the Clang Static Analyzer and Clang Tidy analyzers using CodeChecker as a backend.
Apache License 2.0
24 stars 7 forks source link

Can‘t check with complie_commands.json generate by chromium's generate_compdb.py #155

Open Klauxs opened 2 weeks ago

Klauxs commented 2 weeks ago

[ERROR 2024-09-08 20:59] - Failed to get and parse version of: ../../third_party/llvm-build/Release+Asserts/bin/clang++ [ERROR 2024-09-08 20:59] - [Errno 2] No such file or directory: '../../third_party/llvm-build/Release+Asserts/bin/clang++' [ERROR 2024-09-08 20:59] - Failed to get and parse version of: ../../third_party/llvm-build/Release+Asserts/bin/clang++ [ERROR 2024-09-08 20:59] - [Errno 2] No such file or directory: '../../third_party/llvm-build/Release+Asserts/bin/clang++' [ERROR 2024-09-08 20:59] - Failed to get and parse version of: ../../third_party/llvm-build/Release+Asserts/bin/clang++ [ERROR 2024-09-08 20:59] - [Errno 2] No such file or directory: '../../third_party/llvm-build/Release+Asserts/bin/clang++' [ERROR 2024-09-08 20:59] - Failed to get and parse version of: ../../third_party/llvm-build/Release+Asserts/bin/clang++ [ERROR 2024-09-08 20:59] - [Errno 2] No such file or directory: '../../third_party/llvm-build/Release+Asserts/bin/clang++' [ERROR 2024-09-08 20:59] - Failed to get and parse version of: ../../third_party/llvm-build/Release+Asserts/bin/clang++ [ERROR 2024-09-08 20:59] - [Errno 2] No such file or directory: '../../third_party/llvm-build/Release+Asserts/bin/clang++' [ERROR 2024-09-08 20:59] - Failed to get and parse version of: ../../third_party/llvm-build/Release+Asserts/bin/clang++ [ERROR 2024-09-08 20:59] - [Errno 2] No such file or directory: '../../third_party/llvm-build/Release+Asserts/bin/clang++' [ERROR 2024-09-08 20:59] - Failed to get and parse version of: ../../third_party/llvm-build/Release+Asserts/bin/clang++ [ERROR 2024-09-08 20:59] - [Errno 2] No such file or directory: '../../third_party/llvm-build/Release+Asserts/bin/clang++' [ERROR 2024-09-08 20:59] - Failed to get and parse version of: ../../third_party/llvm-build/Release+Asserts/bin/clang++ ...... It doesn't look like it's going to end.

Klauxs commented 2 weeks ago

By the way, my clangd plugin is work well. But I want to use the clang static analyzer which is not support by clangd.