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/clang/Driver/Driver.h | |
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/clang/Driver/Driver.h')
-rw-r--r-- | include/clang/Driver/Driver.h | 6 |
1 files changed, 1 insertions, 5 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. |