[llvm-commits] [llvm] r75374 - /llvm/trunk/lib/CompilerDriver/Main.cpp
Mikhail Glushenkov
foldr at codedgers.com
Sat Jul 11 12:27:07 PDT 2009
Author: foldr
Date: Sat Jul 11 14:27:07 2009
New Revision: 75374
URL: http://llvm.org/viewvc/llvm-project?rev=75374&view=rev
Log:
Delete the temp dir even when '--temp-dir' is specified.
Modified:
llvm/trunk/lib/CompilerDriver/Main.cpp
Modified: llvm/trunk/lib/CompilerDriver/Main.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CompilerDriver/Main.cpp?rev=75374&r1=75373&r2=75374&view=diff
==============================================================================
--- llvm/trunk/lib/CompilerDriver/Main.cpp (original)
+++ llvm/trunk/lib/CompilerDriver/Main.cpp Sat Jul 11 14:27:07 2009
@@ -62,8 +62,7 @@
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);
More information about the llvm-commits
mailing list