Lines Matching refs:id
68 unsigned id = Opt.getID();
69 assert(id > 0 && id - 1 < getNumOptions() && "Invalid Option ID.");
70 return OptionInfos[id - 1];
84 /// \return The option, or null for the INVALID option id.
88 const char *getOptionName(OptSpecifier id) const {
89 return getInfo(id).Name;
93 unsigned getOptionKind(OptSpecifier id) const {
94 return getInfo(id).Kind;
97 /// \brief Get the group id for the given option.
98 unsigned getOptionGroupID(OptSpecifier id) const {
99 return getInfo(id).GroupID;
103 const char *getOptionHelpText(OptSpecifier id) const {
104 return getInfo(id).HelpText;
109 const char *getOptionMetaVar(OptSpecifier id) const {
110 return getInfo(id).MetaVar;