diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2009-07-11 19:27:07 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2009-07-11 19:27:07 +0000 |
commit | 87a50932793400810c19b1042b9082dc867671bb (patch) | |
tree | 19809237eea2b2888a5e2bb0cfbf120ea105ac62 /lib/CompilerDriver/Main.cpp | |
parent | cdb44fa9e33ff76ddac24811629ff6aee6d191ec (diff) | |
download | external_llvm-87a50932793400810c19b1042b9082dc867671bb.zip external_llvm-87a50932793400810c19b1042b9082dc867671bb.tar.gz external_llvm-87a50932793400810c19b1042b9082dc867671bb.tar.bz2 |
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
Diffstat (limited to 'lib/CompilerDriver/Main.cpp')
-rw-r--r-- | lib/CompilerDriver/Main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CompilerDriver/Main.cpp b/lib/CompilerDriver/Main.cpp index cd7bc47..3e1fc9f 100644 --- a/lib/CompilerDriver/Main.cpp +++ b/lib/CompilerDriver/Main.cpp @@ -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); |