projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
646ca92
)
Delete the temp dir even when '--temp-dir' is specified.
author
Mikhail Glushenkov
<foldr@codedgers.com>
Sat, 11 Jul 2009 19:27:07 +0000
(19:27 +0000)
committer
Mikhail Glushenkov
<foldr@codedgers.com>
Sat, 11 Jul 2009 19:27:07 +0000
(19:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75374
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CompilerDriver/Main.cpp
patch
|
blob
|
history
diff --git
a/lib/CompilerDriver/Main.cpp
b/lib/CompilerDriver/Main.cpp
index cd7bc474d1274ad8b97336165896f06421430137..3e1fc9f124e6fe3aaf9fbe08462aacfaec7d2968 100644
(file)
--- 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);