summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-09-30 21:33:09 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-09-30 21:33:09 +0000
commit920844c36e32fdfdb6f5de67a10bd0bf8a82c5d3 (patch)
treef9326b367b04ab3488cf2ed569ee9b5a614860ac /clang/lib/Driver/Driver.cpp
parent3984269260e3c28176912e9a1493284608ffaa65 (diff)
downloadbcm5719-llvm-920844c36e32fdfdb6f5de67a10bd0bf8a82c5d3.tar.gz
bcm5719-llvm-920844c36e32fdfdb6f5de67a10bd0bf8a82c5d3.zip
Revert my --working-directory option, which wasn't well thought through.
llvm-svn: 140889
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
-rw-r--r--clang/lib/Driver/Driver.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp
index 711b7dbe181..6f49bec01bf 100644
--- a/clang/lib/Driver/Driver.cpp
+++ b/clang/lib/Driver/Driver.cpp
@@ -38,7 +38,6 @@
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Program.h"
-#include "llvm/Support/Process.h"
#include "InputInfo.h"
@@ -324,13 +323,6 @@ Compilation *Driver::BuildCompilation(ArrayRef<const char *> ArgList) {
if (Args->hasArg(options::OPT_nostdlib))
UseStdLib = false;
- // Honor --working-directory. Eventually we want to handle this completely
- // internally to support good use as a library, but for now we just change our
- // working directory.
- if (const Arg *A = Args->getLastArg(options::OPT__working_directory)) {
- llvm::sys::Process::SetWorkingDirectory(A->getValue(*Args));
- }
-
Host = GetHostInfo(DefaultHostTriple.c_str());
// Perform the default argument translations.
OpenPOWER on IntegriCloud