summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-06 18:35:43 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-06 18:35:43 +0000
commit13e9eff3f2aa99c674e086ff990b3d7250ba1a76 (patch)
tree7bdbb84877773c4a523f57090e69ec855f33b085
parentd45b93bdd63465fe9802b9cb783caccbcf2cdcbf (diff)
downloadbcm5719-llvm-13e9eff3f2aa99c674e086ff990b3d7250ba1a76.tar.gz
bcm5719-llvm-13e9eff3f2aa99c674e086ff990b3d7250ba1a76.zip
Fix thinko. *cough* ofcourseItestedit *cough*
llvm-svn: 66283
-rw-r--r--clang/tools/ccc/ccclib/Driver.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/tools/ccc/ccclib/Driver.py b/clang/tools/ccc/ccclib/Driver.py
index 25984dd74e0..e6aba65fc76 100644
--- a/clang/tools/ccc/ccclib/Driver.py
+++ b/clang/tools/ccc/ccclib/Driver.py
@@ -233,9 +233,8 @@ class Driver(object):
self.removeFiles(self.resultFiles, failOnError=True)
raise
finally:
- for f in self.tempFiles:
- # Ignore failures in removing temporary files
- self.removeFiles(self.resultFiles, failOnError=False)
+ # Ignore failures in removing temporary files
+ self.removeFiles(self.tempFiles, failOnError=False)
def removeFiles(self, fileList, failOnError=False):
for f in fileList:
OpenPOWER on IntegriCloud