forked from OSchip/llvm-project
scan-build: Don't use realpath when the user provides an explicit path.
PR19583 llvm-svn: 207484
This commit is contained in:
parent
f077c51a70
commit
90d09146e0
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue