Reverting back the changes checked-in accidently.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sanjiv Gupta
2009-07-06 10:34:10 +00:00
parent 505996fdd5
commit 2f8ca29a70
2 changed files with 1 additions and 13 deletions

View 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();