Home | History | Annotate | Download | only in Driver

Lines Matching refs:Option

1 //===--- OptTable.h - Option Table ------------------------------*- C++ -*-===//
35 class Option;
37 /// OptTable - Provide access to the Option info table.
39 /// The OptTable class provides a layer of indirection which allows Option
43 /// parts of the driver still use Option instances where convenient.
46 /// Info - Entry for a single option instance in the option data table.
59 /// The static option information table.
63 /// The lazily constructed options table, indexed by option::ID - 1.
64 mutable Option **Options;
66 /// Prebound input option instance.
67 const Option *TheInputOption;
69 /// Prebound unknown option instance.
70 const Option *TheUnknownOption;
72 /// The index of the first option which can be parsed (i.e., is not a
73 /// special option like 'input' or 'unknown', and is not an option group).
79 assert(id > 0 && id - 1 < getNumOptions() && "Invalid Option ID.");
83 Option *CreateOption(unsigned id) const;
90 /// getNumOptions - Return the total number of option classes.
93 /// getOption - Get the given \arg id's Option instance, lazily creating it
96 /// \return The option, or null for the INVALID option id.
97 const Option *getOption(OptSpecifier Opt) const {
103 Option *&Entry = Options[id - 1];
109 /// getOptionName - Lookup the name of the given option.
114 /// getOptionKind - Get the kind of the given option.
119 /// getOptionGroupID - Get the group id for the given option.
124 /// isOptionHelpHidden - Should the help for the given option be hidden by
130 /// getOptionHelpText - Get the help text to use to describe this option.
164 /// \param MissingArgIndex - On error, the index of the option which could
174 /// PrintHelp - Render the help text for an option table.