[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk/tools/scan-build@356308 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed
tree: aa795716fd0793de247a0158197d920da3032223
  1. CMakeLists.txt
  2. bin/
  3. libexec/
  4. man/
  5. share/