Fix thinko. *cough* ofcourseItestedit *cough*
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66283 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/ccc/ccclib/Driver.py b/tools/ccc/ccclib/Driver.py
index 25984dd..e6aba65 100644
--- a/tools/ccc/ccclib/Driver.py
+++ b/tools/ccc/ccclib/Driver.py
@@ -233,9 +233,8 @@
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: