Home | History | Annotate | Download | only in slang

Lines Matching refs:OPTION

22 #include "llvm/Option/Arg.h"
23 #include "llvm/Option/ArgList.h"
24 #include "llvm/Option/Option.h"
25 #include "llvm/Option/OptTable.h"
38 OPT_INVALID = 0, // This is not an option ID.
40 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \
45 #undef OPTION
50 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \
53 #undef OPTION
58 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \
61 PREFIX, NAME, HELPTEXT, METAVAR, OPT_##ID, llvm::opt::Option::KIND##Class, \
66 #undef OPTION
139 if (A->getOption().getKind() == llvm::opt::Option::InputClass)
165 default: { slangAssert(false && "Invalid option in M group!"); }
187 default: { slangAssert(false && "Invalid option in output type group!"); }
267 // TODO: Don't assume that the option begins with "-"; determine this programmatically instead.
269 slangAssert(OptParser->getOptionKind(Opt) == llvm::opt::Option::FlagClass);