Reverting back the changes checked-in accidently.
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Mon, 6 Jul 2009 10:34:10 +0000 (10:34 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Mon, 6 Jul 2009 10:34:10 +0000 (10:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74823 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CompilerDriver/BuiltinOptions.cpp
lib/CompilerDriver/Main.cpp

index 126346f68dadf7279724fbcce62c318109b9bcaa..a3364e8a72f0ba4cbce8e6b6dfdf34cec7b04f98 100644 (file)
@@ -52,5 +52,4 @@ cl::opt<SaveTempsEnum::Values> SaveTemps
                        "Use current working directory"),
             clEnumValN(SaveTempsEnum::Obj, "", "Same as 'cwd'"),
             clEnumValEnd),
- //cl::ValueOptional);
- cl::Hidden);
+ cl::ValueOptional);
index f4cacb38f183ef04c028f4a7c6bec698a137dc06..7d1a3d8fbc4eb43caac758fb757e8a6e4b0bca76 100644 (file)
@@ -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();