Delete the temp dir even when '--temp-dir' is specified.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75374 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov 2009-07-11 19:27:07 +00:00
parent 646ca92bfc
commit 63bb60fc32

View File

@ -62,8 +62,7 @@ namespace {
int BuildTargets(CompilationGraph& graph, const LanguageMap& langMap) {
int ret;
const sys::Path& tempDir = getTempDir();
bool toDelete =
(SaveTemps == SaveTempsEnum::Unset && TempDirname.empty());
bool toDelete = (SaveTemps == SaveTempsEnum::Unset);
try {
ret = graph.Build(tempDir, langMap);