diff options
Diffstat (limited to 'lib/CompilerDriver/Main.cpp')
-rw-r--r-- | lib/CompilerDriver/Main.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/CompilerDriver/Main.cpp b/lib/CompilerDriver/Main.cpp index f4cacb38f1..7d1a3d8fbc 100644 --- a/lib/CompilerDriver/Main.cpp +++ b/lib/CompilerDriver/Main.cpp @@ -31,17 +31,6 @@ namespace { sys::Path getTempDir() { sys::Path tempDir; -///////////////////////////////////////////// - std::string p = "tmp-objs"; - tempDir = sys::Path(p); - if (!tempDir.exists()) { - std::string ErrMsg; - if (tempDir.createDirectoryOnDisk(true, &ErrMsg)) - throw std::runtime_error(ErrMsg); - } - return tempDir; -///////////////////////////////////////////// - // GCC 4.5-style -save-temps handling. if (SaveTemps == SaveTempsEnum::Unset) { tempDir = sys::Path::GetTemporaryDirectory(); |