HomePhabricator

[analyzer] Teach scan-build to find clang when installed in /usr/local/bin/

Authored by dcoughlin on Mar 15 2019, 6:01 PM.

Description

[analyzer] Teach scan-build to find clang when installed in /usr/local/bin/

Change scan-build to support the scenario where scan-build is installed in
$TOOLCHAIN/usr/local/bin/ but clang itself is installed in $TOOLCHAIN/usr/bin/.

This is restricted to when 'xcrun' is present; that is, on the Mac.

rdar://problem/48914634

Differential Revision: https://reviews.llvm.org/D59406

llvm-svn: 356308

Details

Committed
dcoughlinMar 15 2019, 6:01 PM
Differential Revision
D59406: [analyzer] Teach scan-build to find /usr/bin/clang when installed in /usr/local/bin/
Parents
rG49e978f780a5: hello, clang
Branches
Unknown
Tags
Unknown