I’m a beginner of clang-analyzer. I got a problem when I execute command “scan-build make”:
scan-build: error: Cannot find an executable ‘clang’ relative to scan-build. Consider using --use-analyzer to pick a version of ‘clang’ to use for static analysis.
PS:I have compiled llvm+clang(with source code llvm 3.3). And I have added the two PATH:/home/zq/LLVM/llvm-3.3.src/tools/clang/tools/scan-view/:/home/zq/LLVM/llvm-3.3.src/tools/clang/tools/scan-build/:/home/zq/LLVM/build/Release+Asserts/bin/
Can anybody help me?