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)
commit3c717b459b047987fd43566cb1d38971934b21aa
tree5f8adc6d8229554c100164b8b30303d32da27f03
parentb9a9273826c5560432f10aeef8531292ced51590
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.

llvm-svn: 165910
clang/lib/Frontend/CompilerInstance.cpp
clang/lib/Frontend/FrontendAction.cpp