scan-build: Don't use realpath when the user provides an explicit path.

PR19583

llvm-svn: 207484
This commit is contained in:
Jordan Rose 2014-04-29 01:37:19 +00:00
parent f077c51a70
commit 90d09146e0
1 changed files with 1 additions and 1 deletions

View File

@ -1584,7 +1584,7 @@ else {
}
}
else {
$Clang = Cwd::realpath($AnalyzerDiscoveryMethod);
$Clang = $AnalyzerDiscoveryMethod;
if (!defined $Clang or not -x $Clang) {
DieDiag("Cannot find an executable clang at '$AnalyzerDiscoveryMethod'\n");
}