[analyzer] Improve behavior if Clang not found.
authorAnton Yartsev <anton.yartsev@gmail.com>
Fri, 11 Sep 2015 20:41:09 +0000 (20:41 +0000)
committerAnton Yartsev <anton.yartsev@gmail.com>
Fri, 11 Sep 2015 20:41:09 +0000 (20:41 +0000)
commitf54d6796e3310d3393ac0ca24954091b4775ad39
tree59aeec478f35947540912b93a84fe5bba72106d6
parent072e83500e1f4291692753fa19840b17c694244e
[analyzer] Improve behavior if Clang not found.

- Eliminate 'No such file or directory at scan-build line ...' error if '$RealBin/bin/clang' or '$RealBin/clang' directory does not exist.
- Eliminate 'Use of uninitialized value $Clang in concatenation (.) or string at scan-build line ...' error if help is displayed while $Clang was not found.

llvm-svn: 247466
clang/tools/scan-build/scan-build