summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/OptTable.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-25 06:08:46 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-25 06:08:46 +0000
commit0e378b1e26f9dd899cb5ee66a8509182b0bf7e2a (patch)
tree22ed609aad80ee3fc3c0ff95a1f3856f40576cd8 /clang/lib/Driver/OptTable.cpp
parent24e7eade19c023132fe73eb85dedcd5b70ecf61d (diff)
downloadbcm5719-llvm-0e378b1e26f9dd899cb5ee66a8509182b0bf7e2a.tar.gz
bcm5719-llvm-0e378b1e26f9dd899cb5ee66a8509182b0bf7e2a.zip
Driver: Replace Option::ForwardToGCC by Option::DriverOption (which
matches the flag in Options.def). llvm-svn: 67679
Diffstat (limited to 'clang/lib/Driver/OptTable.cpp')
-rw-r--r--clang/lib/Driver/OptTable.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/clang/lib/Driver/OptTable.cpp b/clang/lib/Driver/OptTable.cpp
index baaa886fec1..2e449995809 100644
--- a/clang/lib/Driver/OptTable.cpp
+++ b/clang/lib/Driver/OptTable.cpp
@@ -185,18 +185,13 @@ Option *OptTable::constructOption(options::ID id) const {
case 'S':
assert(info.Kind == Option::JoinedClass && "Invalid option.");
Opt->setForceSeparateRender(true); break;
- case 'd': Opt->setForwardToGCC(false); break;
+ case 'd': Opt->setDriverOption(true); break;
case 'i': Opt->setNoOptAsInput(true); break;
case 'l': Opt->setLinkerInput(true); break;
case 'u': Opt->setUnsupported(true); break;
}
}
- // Linker inputs shouldn't be forwarded to GCC as arguments (they
- // will, however, be forwarded as inputs).
- if (Opt->isLinkerInput())
- Opt->setForwardToGCC(false);
-
return Opt;
}
OpenPOWER on IntegriCloud