summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2011-02-22 15:19:35 +0000
committerJoerg Sonnenberger <joerg@bec.de>2011-02-22 15:19:35 +0000
commitfe74286a48569a9928adc7fda529e893482180f4 (patch)
tree519f893b0bfdcdfc0731e33adf7dd5370d283d63 /clang/lib/Frontend/CompilerInvocation.cpp
parent80a3cadab7d209aede088bf4985e876f46d87d79 (diff)
downloadbcm5719-llvm-fe74286a48569a9928adc7fda529e893482180f4.tar.gz
bcm5719-llvm-fe74286a48569a9928adc7fda529e893482180f4.zip
Remove the storage for -cxx-system-include. Make libcxx toolchain
use -nostdinc++ and -cxx-isystem. llvm-svn: 126223
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index d510b5bc524..17daca8a7b5 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -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];
OpenPOWER on IntegriCloud