diff options
author | Simon Atanasyan <satanasyan@mips.com> | 2012-10-03 19:52:37 +0000 |
---|---|---|
committer | Simon Atanasyan <satanasyan@mips.com> | 2012-10-03 19:52:37 +0000 |
commit | fc44e88cbdf013d285f2e4e3962fb80dcad56770 (patch) | |
tree | f3d1dafc63987d9cf776d84be305a54b738b4f83 /lib/Driver/ToolChain.cpp | |
parent | 2fc107f5652a526d9c2972dc3b386e5d86769e44 (diff) |
Remove useless parameter "WantFile" from Driver::GetProgramPath().
This parameter is useless because nowhere used explicitly and always
gets its default value - "false".
The patch reviewed by Rafael Espindola.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChain.cpp')
-rw-r--r-- | lib/Driver/ToolChain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Driver/ToolChain.cpp b/lib/Driver/ToolChain.cpp index 3d0dc6216c..6bcea58b9e 100644 --- a/lib/Driver/ToolChain.cpp +++ b/lib/Driver/ToolChain.cpp @@ -41,8 +41,8 @@ std::string ToolChain::GetFilePath(const char *Name) const { } -std::string ToolChain::GetProgramPath(const char *Name, bool WantFile) const { - return D.GetProgramPath(Name, *this, WantFile); +std::string ToolChain::GetProgramPath(const char *Name) const { + return D.GetProgramPath(Name, *this); } types::ID ToolChain::LookupTypeForExtension(const char *Ext) const { |