summaryrefslogtreecommitdiffstats
path: root/lib/CompilerDriver/Main.cpp
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2009-07-06 10:34:10 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2009-07-06 10:34:10 +0000
commit2f8ca29a70448aa6fe04c54abf598599653bd841 (patch)
tree55d8d986bff12691668f2deb3f42936a8a017834 /lib/CompilerDriver/Main.cpp
parent505996fdd5139201f166726dbd8b0247f7ac560b (diff)
downloadexternal_llvm-2f8ca29a70448aa6fe04c54abf598599653bd841.zip
external_llvm-2f8ca29a70448aa6fe04c54abf598599653bd841.tar.gz
external_llvm-2f8ca29a70448aa6fe04c54abf598599653bd841.tar.bz2
Reverting back the changes checked-in accidently.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CompilerDriver/Main.cpp')
-rw-r--r--lib/CompilerDriver/Main.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/CompilerDriver/Main.cpp b/lib/CompilerDriver/Main.cpp
index f4cacb3..7d1a3d8 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();