forked from OSchip/llvm-project
Delete the temp dir even when '--temp-dir' is specified.
llvm-svn: 75374
This commit is contained in:
parent
fc69ee2cc6
commit
3c9e8d3b1f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue