mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
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
This commit is contained in:
parent
646ca92bfc
commit
63bb60fc32
@ -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
Block a user