Darwin: pass -stdlib=libc++ down to cc1 whenever we're targeting libc++
authorTim Northover <tnorthover@apple.com>
Fri, 12 Feb 2016 22:30:42 +0000 (22:30 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 12 Feb 2016 22:30:42 +0000 (22:30 +0000)
commitb534ce46bd40eaa909a20f40ae576a2627da4f90
tree6d97cb6247054fa8723fd1c3e0a9395f67b11bea
parentdf3857c7d44302f9525f3851b9855e20ca2436e6
Darwin: pass -stdlib=libc++ down to cc1 whenever we're targeting libc++

Recent refactoring meant it only got passed down when explicitly specified,
which breaks header search on Darwin.

llvm-svn: 260755
clang/darwin-stdlib.cpp [new file with mode: 0644]
clang/lib/Driver/ToolChains.cpp