From 7ebc424a31c7089558eec424a72fdf4ad085b05c Mon Sep 17 00:00:00 2001 From: Sanjiv Gupta Date: Thu, 9 Jul 2009 18:06:27 +0000 Subject: 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 --- lib/CompilerDriver/Main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/CompilerDriver') diff --git a/lib/CompilerDriver/Main.cpp b/lib/CompilerDriver/Main.cpp index c6e4e1415a..86863dcae2 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. -- cgit v1.2.3