[scan-build] Patch to scan-build tool to support "--target=<value>" flag

The scan-build script provided by clang can be used to detect defects in
code in the compile time. However, we discovered that the
"--target=<value>" flag in clang is not properly handled by this script,
which results in failures when analyzing projects that have used this
flag in their makefile.

This single line of change allows scan-build script to properly handle
the "--target=<value>" flag.

Patch by Haowei Wu

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

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