]> granicus.if.org Git - clang/commitdiff
Remove duplicated alteration to getProgramPaths().
authorDouglas Katzman <dougk@google.com>
Tue, 16 Jun 2015 19:34:52 +0000 (19:34 +0000)
committerDouglas Katzman <dougk@google.com>
Tue, 16 Jun 2015 19:34:52 +0000 (19:34 +0000)
This appears to have been accidental.

Differential Revision: http://reviews.llvm.org/D10444

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239844 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.cpp

index 02154dc982c25573df79eda62779cee334586fa3..e3dab2040fc6deb390a6c6ca67f55daf0be91dfb 100644 (file)
@@ -42,10 +42,6 @@ using namespace llvm::opt;
 MachO::MachO(const Driver &D, const llvm::Triple &Triple,
                        const ArgList &Args)
   : ToolChain(D, Triple, Args) {
-  getProgramPaths().push_back(getDriver().getInstalledDir());
-  if (getDriver().getInstalledDir() != getDriver().Dir)
-    getProgramPaths().push_back(getDriver().Dir);
-
   // We expect 'as', 'ld', etc. to be adjacent to our install dir.
   getProgramPaths().push_back(getDriver().getInstalledDir());
   if (getDriver().getInstalledDir() != getDriver().Dir)