Fixed handling of -t. It gets the prirority for temp dir name.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75154 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CompilerDriver/Main.cpp b/lib/CompilerDriver/Main.cpp
index c6e4e14..86863dc 100644
--- a/lib/CompilerDriver/Main.cpp
+++ b/lib/CompilerDriver/Main.cpp
@@ -38,6 +38,7 @@
         if (tempDir.createDirectoryOnDisk(true, &ErrMsg))
           throw std::runtime_error(ErrMsg);
       }
+      return tempDir;
     }
 
     // GCC 4.5-style -save-temps handling.