зеркало из https://github.com/microsoft/clang.git
Remove unused argument.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81010 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
a71d819bb8
Коммит
8f28962de2
|
@ -120,7 +120,7 @@ Tool &Darwin_X86::SelectTool(const Compilation &C,
|
|||
case Action::AssembleJobClass:
|
||||
T = new tools::darwin::Assemble(*this); break;
|
||||
case Action::LinkJobClass:
|
||||
T = new tools::darwin::Link(*this, MacosxVersionMin.c_str()); break;
|
||||
T = new tools::darwin::Link(*this); break;
|
||||
case Action::LipoJobClass:
|
||||
T = new tools::darwin::Lipo(*this); break;
|
||||
}
|
||||
|
|
|
@ -201,15 +201,11 @@ namespace darwin {
|
|||
void AddDarwinSubArch(const ArgList &Args, ArgStringList &CmdArgs) const;
|
||||
void AddLinkArgs(const ArgList &Args, ArgStringList &CmdArgs) const;
|
||||
|
||||
/// The default macosx-version-min.
|
||||
const char *MacosxVersionMin;
|
||||
|
||||
const toolchains::Darwin_X86 &getDarwinToolChain() const;
|
||||
|
||||
public:
|
||||
Link(const ToolChain &TC,
|
||||
const char *_MacosxVersionMin)
|
||||
: Tool("darwin::Link", TC), MacosxVersionMin(_MacosxVersionMin) {
|
||||
Link(const ToolChain &TC)
|
||||
: Tool("darwin::Link", TC) {
|
||||
}
|
||||
|
||||
virtual bool acceptsPipedInput() const { return false; }
|
||||
|
|
Загрузка…
Ссылка в новой задаче