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 /include | |
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 'include')
-rw-r--r-- | include/clang/Driver/Driver.h | 6 | ||||
-rw-r--r-- | include/clang/Driver/ToolChain.h | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/include/clang/Driver/Driver.h b/include/clang/Driver/Driver.h index 0051365e17..f436e04756 100644 --- a/include/clang/Driver/Driver.h +++ b/include/clang/Driver/Driver.h @@ -335,13 +335,9 @@ public: /// /// \param TC - The provided tool chain for additional information on /// directories to search. - /// - /// \param WantFile - False when searching for an executable file, otherwise - /// true. Defaults to false. // // FIXME: This should be in CompilationInfo. - std::string GetProgramPath(const char *Name, const ToolChain &TC, - bool WantFile = false) const; + std::string GetProgramPath(const char *Name, const ToolChain &TC) const; /// HandleImmediateArgs - Handle any arguments which should be /// treated before building actions or binding tools. diff --git a/include/clang/Driver/ToolChain.h b/include/clang/Driver/ToolChain.h index fbc0ac27a4..3295e72006 100644 --- a/include/clang/Driver/ToolChain.h +++ b/include/clang/Driver/ToolChain.h @@ -115,7 +115,7 @@ public: // Helper methods std::string GetFilePath(const char *Name) const; - std::string GetProgramPath(const char *Name, bool WantFile = false) const; + std::string GetProgramPath(const char *Name) const; // Platform defaults information |