Append clang system include path for offloading tool chains.
authorSamuel Antao <sfantao@us.ibm.com>
Tue, 19 Jul 2016 00:01:12 +0000 (00:01 +0000)
committerSamuel Antao <sfantao@us.ibm.com>
Tue, 19 Jul 2016 00:01:12 +0000 (00:01 +0000)
commitb10183824452369e7766137716cf847b63af38cf
treebcb5212262a9315c7106c28cc3ec7ca9822496eb
parentdab51bbd485c98702ed7b316ae1a70e303500968
Append clang system include path for offloading tool chains.

Summary:
This patch adds clang system include path when offloading tool chains, e.g. CUDA, are used in the current compilation.

This fixes an issue detected by @rsmith in response to r275645.

Reviewers: rsmith, tra

Subscribers: rsmith, cfe-commits

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

llvm-svn: 275931
clang/lib/Driver/Tools.cpp