mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 21:40:47 +00:00
18 lines
961 B
Diff
18 lines
961 B
Diff
---
|
|
clang/tools/scan-build/bin/scan-build | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: llvm-toolchain-snapshot_10~svn370025/clang/tools/scan-build/bin/scan-build
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_10~svn370025.orig/clang/tools/scan-build/bin/scan-build
|
|
+++ llvm-toolchain-snapshot_10~svn370025/clang/tools/scan-build/bin/scan-build
|
|
@@ -1478,7 +1478,7 @@ sub FindClang {
|
|
if (!defined $Options{AnalyzerDiscoveryMethod}) {
|
|
$Clang = Cwd::realpath("$RealBin/bin/clang") if (-f "$RealBin/bin/clang");
|
|
if (!defined $Clang || ! -x $Clang) {
|
|
- $Clang = Cwd::realpath("$RealBin/clang") if (-f "$RealBin/clang");
|
|
+ $Clang = Cwd::realpath("/usr/lib/llvm-10/bin/clang");
|
|
if (!defined $Clang || ! -x $Clang) {
|
|
# When an Xcode toolchain is present, look for a clang in the sibling bin
|
|
# of the parent of the bin directory. So if scan-build is at
|