Home | History | Annotate | Download | only in Option

Lines Matching refs:id

49     unsigned ID;
77 unsigned id = Opt.getID();
78 assert(id > 0 && id - 1 < getNumOptions() && "Invalid Option ID.");
79 return OptionInfos[id - 1];
94 /// \return The option, or null for the INVALID option id.
98 const char *getOptionName(OptSpecifier id) const {
99 return getInfo(id).Name;
103 unsigned getOptionKind(OptSpecifier id) const {
104 return getInfo(id).Kind;
107 /// \brief Get the group id for the given option.
108 unsigned getOptionGroupID(OptSpecifier id) const {
109 return getInfo(id).GroupID;
113 const char *getOptionHelpText(OptSpecifier id) const {
114 return getInfo(id).HelpText;
119 const char *getOptionMetaVar(OptSpecifier id) const {
120 return getInfo(id).MetaVar;