Lines Matching defs:Name
37 /// processing machinery. It is intentionally a short name to make qualified
82 /// \param Name the string name for the option to handle during parsing
86 void AddLiteralOption(Option &O, const char *Name);
154 const char *const Name;
159 OptionCategory(const char *const Name,
161 : Name(Name), Description(Description) {
164 const char *getName() const { return Name; }
283 // Prints option name followed by message. Always returns true.
557 GenericOptionInfo(const char *name, const char *helpStr)
558 : Name(name), HelpStr(helpStr) {}
559 const char *Name;
573 // getOption - Return option name N.
636 unsigned findOption(const char *Name);
652 OptionInfo(const char *name, DataType v, const char *helpStr)
653 : GenericOptionInfo(name, helpStr), V(v) {}
664 const char *getOption(unsigned N) const override { return Values[N].Name; }
669 // getOptionValue - Return the value of option name N.
683 if (Values[i].Name == ArgVal) {
694 void addLiteralOption(const char *Name, const DT &V, const char *HelpStr) {
695 assert(findOption(Name) == Values.size() && "Option already exists!");
696 OptionInfo X(Name, static_cast<DataType>(V), HelpStr);
698 AddLiteralOption(Owner, Name);
703 void removeLiteralOption(const char *Name) {
704 unsigned N = findOption(Name);
1506 // Aliased command line option (alias this name to a preexisting name)
1533 error("cl::alias must have argument name specified!");