1 include "llvm/Option/OptParser.td"
3 // link.exe accepts options starting with either a dash or a slash.
5 // Flag that takes no arguments.
6 class F<string name> : Flag<["/", "-", "/?", "-?"], name>;
8 // Flag that takes one argument after ":".
10 Joined<["/", "-", "/?", "-?"], name#":">;
12 // Boolean flag which can be suffixed by ":no". Using it unsuffixed turns the
13 // flag on and using it suffixed by ":no" turns it off.
14 multiclass B_priv<string name> {
16 def _no : F<name#":no">;
19 def export : P<"export">;
20 def alternatename : P<"alternatename">;
21 def incl : Joined<["/", "-", "/?", "-?"], "include:">;