diff --git a/lib/CompilerDriver/Main.cpp b/lib/CompilerDriver/Main.cpp index c6e4e1415a0..86863dcae2c 100644 --- a/lib/CompilerDriver/Main.cpp +++ b/lib/CompilerDriver/Main.cpp @@ -38,6 +38,7 @@ namespace { if (tempDir.createDirectoryOnDisk(true, &ErrMsg)) throw std::runtime_error(ErrMsg); } + return tempDir; } // GCC 4.5-style -save-temps handling.