Home | History | Annotate | Download | only in Option

Lines Matching refs:id

42     unsigned ID;
70 unsigned id = Opt.getID();
71 assert(id > 0 && id - 1 < getNumOptions() && "Invalid Option ID.");
72 return OptionInfos[id - 1];
87 /// \return The option, or null for the INVALID option id.
91 const char *getOptionName(OptSpecifier id) const {
92 return getInfo(id).Name;
96 unsigned getOptionKind(OptSpecifier id) const {
97 return getInfo(id).Kind;
100 /// \brief Get the group id for the given option.
101 unsigned getOptionGroupID(OptSpecifier id) const {
102 return getInfo(id).GroupID;
106 const char *getOptionHelpText(OptSpecifier id) const {
107 return getInfo(id).HelpText;
112 const char *getOptionMetaVar(OptSpecifier id) const {
113 return getInfo(id).MetaVar;