summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Action.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Driver/Action.cpp')
-rw-r--r--clang/lib/Driver/Action.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/Driver/Action.cpp b/clang/lib/Driver/Action.cpp
index 71bf22ffa12..cabc33eaec2 100644
--- a/clang/lib/Driver/Action.cpp
+++ b/clang/lib/Driver/Action.cpp
@@ -13,9 +13,8 @@
using namespace clang::driver;
Action::~Action() {
- // Free the inputs.
- for (iterator it = begin(), ie = end(); it != ie; ++it)
- delete *it;
+ // FIXME: Free the inputs. The problem is that BindArchAction shares
+ // inputs; so we can't just walk the inputs.
}
const char *Action::getClassName(ActionClass AC) {
OpenPOWER on IntegriCloud