]> granicus.if.org Git - clang/commit
[analyzer] scan-build: Teach ccc-analyzer about -Xclang.
authorDevin Coughlin <dcoughlin@apple.com>
Sun, 25 Oct 2015 01:30:18 +0000 (01:30 +0000)
committerDevin Coughlin <dcoughlin@apple.com>
Sun, 25 Oct 2015 01:30:18 +0000 (01:30 +0000)
commit1315efcc022d15c95c9d432dce46488b7dfa5ceb
treed518113facb3fb97b49e08a226632a71365269b1
parent58a3df9e98d3fe459aa850119225f369451ec4ef
[analyzer] scan-build: Teach ccc-analyzer about -Xclang.

Update ccc-analyzer to forward both -Xclang and its following argument to the
the compiler driver. Previously we were dropping -Xclang and forwarding the
argument on its own if it matched other forwarding criteria. This caused the
argument to be interpreted as a driver rather than a frontend option.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@251218 91177308-0d34-0410-b5e6-96231b3b80d8
tools/scan-build/ccc-analyzer