1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

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

llvm-svn: 75374
This commit is contained in:
Mikhail Glushenkov 2009-07-11 19:27:07 +00:00
parent 3e43cd4105
commit 8ce78c596d

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);