include "llvm/Option/OptParser.td" //===----------------------------------------------------------------------===// /// Utility Functions //===----------------------------------------------------------------------===// // Single and multiple dash options combined multiclass smDash { // Option def "" : Separate<["-"], opt1>, HelpText; def opt1_eq : Joined<["-"], opt1#"=">, Alias(opt1)>; // Compatibility aliases def opt2_dashdash : Separate<["--"], opt2>, Alias(opt1)>; def opt2_dashdash_eq : Joined<["--"], opt2#"=">, Alias(opt1)>; } // Support -