]> granicus.if.org Git - clang/commit
Delete temporary output files when an error occurs during PCH reading.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 14 Oct 2012 19:21:21 +0000 (19:21 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 14 Oct 2012 19:21:21 +0000 (19:21 +0000)
commitac447fce02d119fb70f0aab885d836dea43e7f26
tree90b7b75b78a364b78fd066ec5587bed1c2d0dd5b
parent10be5bad483cfe66bb5eb5ff948c03c4628ce774
Delete temporary output files when an error occurs during PCH reading.

This reduces the spam make test leaves behind in /tmp. The assert isn't
particularly useful because it's not run with -disable-free (the default when
using the clang driver) but should cover all -cc1 tests.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165910 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/CompilerInstance.cpp
lib/Frontend/FrontendAction.cpp