summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Driver/Action.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Driver/Action.cpp b/lib/Driver/Action.cpp
index 71bf22ffa1..cabc33eaec 100644
--- a/lib/Driver/Action.cpp
+++ b/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) {