[lld] r324155 - Simplify.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 2 14:48:09 PST 2018


Author: ruiu
Date: Fri Feb  2 14:48:09 2018
New Revision: 324155

URL: http://llvm.org/viewvc/llvm-project?rev=324155&view=rev
Log:
Simplify.

Modified:
    lld/trunk/ELF/Options.td

Modified: lld/trunk/ELF/Options.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Options.td?rev=324155&r1=324154&r2=324155&view=diff
==============================================================================
--- lld/trunk/ELF/Options.td (original)
+++ lld/trunk/ELF/Options.td Fri Feb  2 14:48:09 2018
@@ -406,8 +406,7 @@ def thinlto_jobs: J<"thinlto-jobs=">, He
 // just ignore the option on lld side as it's easier. In fact, the linker could
 // be called 'ld' and understanding which linker is used would require parsing of
 // --version output.
-def plugin: S<"plugin">;
-def plugin_eq: J<"plugin=">;
+defm plugin: Eq<"plugin">;
 
 // Options listed below are silently ignored for now for compatibility.
 def allow_shlib_undefined: F<"allow-shlib-undefined">;




More information about the llvm-commits mailing list