aboutsummaryrefslogtreecommitdiff
path: root/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
commitf6dd66b7b80e2fb42628df2593b3948149a53a5f (patch)
treefbf8499c30eb236776305d99d556aafdea88961f /lib/Driver/OptTable.cpp
parenta129eb974d8ff0ad4a4dd94ad1e6c5f98897ddb4 (diff)
Driver: Replace Option::ForwardToGCC by Option::DriverOption (which
matches the flag in Options.def). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67679 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/OptTable.cpp')
-rw-r--r--lib/Driver/OptTable.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Driver/OptTable.cpp b/lib/Driver/OptTable.cpp
index baaa886fec..2e44999580 100644
--- a/lib/Driver/OptTable.cpp
+++ b/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;
}