Remove the storage for -cxx-system-include. Make libcxx toolchain

use -nostdinc++ and -cxx-isystem.

llvm-svn: 126223
This commit is contained in:
Joerg Sonnenberger
2011-02-22 15:19:35 +00:00
parent 80a3cadab7
commit fe74286a48
4 changed files with 4 additions and 16 deletions

View File

@@ -473,11 +473,6 @@ static void HeaderSearchOptsToArgs(const HeaderSearchOptions &Opts,
Res.push_back(Opts.Sysroot);
}
for (unsigned i = 0, e = Opts.CXXSystemIncludes.size(); i != e; ++i) {
Res.push_back("-cxx-system-include");
Res.push_back(Opts.CXXSystemIncludes[i]);
}
/// User specified include entries.
for (unsigned i = 0, e = Opts.UserEntries.size(); i != e; ++i) {
const HeaderSearchOptions::Entry &E = Opts.UserEntries[i];