Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Klauxs opened this issue Sep 8, 2024 · 1 comment

Comments

@Klauxs
Copy link

Klauxs commented Sep 8, 2024

  • After I click Re-analyze current file, Codechecker output:

[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
Copy link
Author

Klauxs commented Sep 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant