[lld] r322263 - Remove redundnat Args.filter() argument.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 10 23:55:01 PST 2018
Author: ruiu
Date: Wed Jan 10 23:55:01 2018
New Revision: 322263
URL: http://llvm.org/viewvc/llvm-project?rev=322263&view=rev
Log:
Remove redundnat Args.filter() argument.
OPT_plugin_opt_eq is an alias to OPT_plugin_opt, so we don't need
to give that twice.
Modified:
lld/trunk/ELF/Driver.cpp
Modified: lld/trunk/ELF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Driver.cpp?rev=322263&r1=322262&r2=322263&view=diff
==============================================================================
--- lld/trunk/ELF/Driver.cpp (original)
+++ lld/trunk/ELF/Driver.cpp Wed Jan 10 23:55:01 2018
@@ -683,7 +683,7 @@ void LinkerDriver::readConfigs(opt::Inpu
Config->ZWxneeded = hasZOption(Args, "wxneeded");
// Parse LTO plugin-related options for compatibility with gold.
- for (auto *Arg : Args.filtered(OPT_plugin_opt, OPT_plugin_opt_eq)) {
+ for (auto *Arg : Args.filtered(OPT_plugin_opt)) {
StringRef S = Arg->getValue();
if (S == "disable-verify")
Config->DisableVerify = true;
More information about the llvm-commits
mailing list