[llvm-commits] [llvm] r74823 - in /llvm/trunk/lib/CompilerDriver: BuiltinOptions.cpp Main.cpp
Sanjiv Gupta
sanjiv.gupta at microchip.com
Mon Jul 6 03:34:24 PDT 2009
Author: sgupta
Date: Mon Jul 6 05:34:10 2009
New Revision: 74823
URL: http://llvm.org/viewvc/llvm-project?rev=74823&view=rev
Log:
Reverting back the changes checked-in accidently.
Modified:
llvm/trunk/lib/CompilerDriver/BuiltinOptions.cpp
llvm/trunk/lib/CompilerDriver/Main.cpp
Modified: llvm/trunk/lib/CompilerDriver/BuiltinOptions.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CompilerDriver/BuiltinOptions.cpp?rev=74823&r1=74822&r2=74823&view=diff
==============================================================================
--- llvm/trunk/lib/CompilerDriver/BuiltinOptions.cpp (original)
+++ llvm/trunk/lib/CompilerDriver/BuiltinOptions.cpp Mon Jul 6 05:34:10 2009
@@ -52,5 +52,4 @@
"Use current working directory"),
clEnumValN(SaveTempsEnum::Obj, "", "Same as 'cwd'"),
clEnumValEnd),
- //cl::ValueOptional);
- cl::Hidden);
+ cl::ValueOptional);
Modified: llvm/trunk/lib/CompilerDriver/Main.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CompilerDriver/Main.cpp?rev=74823&r1=74822&r2=74823&view=diff
==============================================================================
--- llvm/trunk/lib/CompilerDriver/Main.cpp (original)
+++ llvm/trunk/lib/CompilerDriver/Main.cpp Mon Jul 6 05:34:10 2009
@@ -31,17 +31,6 @@
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();
More information about the llvm-commits
mailing list