-//===- Tools.td - Common definitions for LLVMCC -----------*- tablegen -*-===//
+//===- Common.td - Common definitions for LLVMCC ----------*- tablegen -*-===//
//
// The LLVM Compiler Infrastructure
//
// Possible option types
+def alias_option;
def switch_option;
def parameter_option;
def parameter_list_option;
def help;
def required;
-// Marker for an empty DAG.
+// Empty DAG marker.
def empty;
// The 'case' construct.
def inc_weight;
def dec_weight;
+// Option list - used to specify aliases and sometimes help strings.
+class OptionList<list<dag> l> {
+ list<dag> options = l;
+}
+
// Map from suffixes to language names
class LangToSuffixes<string str, list<string> lst> {