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 BuildTargets(CompilationGraph& graph, const LanguageMap& langMap) {
|
||||||
int ret;
|
int ret;
|
||||||
const sys::Path& tempDir = getTempDir();
|
const sys::Path& tempDir = getTempDir();
|
||||||
bool toDelete =
|
bool toDelete = (SaveTemps == SaveTempsEnum::Unset);
|
||||||
(SaveTemps == SaveTempsEnum::Unset && TempDirname.empty());
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ret = graph.Build(tempDir, langMap);
|
ret = graph.Build(tempDir, langMap);
|
||||||
|
|
Loading…
Reference in New Issue