Lines Matching refs:Option
1 //===--- Option.cpp - Abstract Driver Options -----------------------------===//
10 #include "clang/Driver/Option.h"
20 Option::Option(OptionClass _Kind, OptSpecifier _ID, const char *_Name,
21 const OptionGroup *_Group, const Option *_Alias)
27 // have groups. This just simplifies option tracking, it is not an
58 Option::~Option() {
61 void Option::dump() const {
96 bool Option::matches(OptSpecifier Opt) const {
112 : Option(Option::GroupClass, ID, Name, Group, 0) {
120 : Option(Option::InputClass, ID, "<input>", 0, 0) {
128 : Option(Option::UnknownClass, ID, "<unknown>", 0, 0) {
136 const OptionGroup *Group, const Option *Alias)
137 : Option(Option::FlagClass, ID, Name, Group, Alias) {
150 const OptionGroup *Group, const Option *Alias)
151 : Option(Option::JoinedClass, ID, Name, Group, Alias) {
162 const Option *Alias)
163 : Option(Option::CommaJoinedClass, ID, Name, Group, Alias) {
197 const OptionGroup *Group, const Option *Alias)
198 : Option(Option::SeparateClass, ID, Name, Group, Alias) {
215 const OptionGroup *Group, const Option *Alias,
217 : Option(Option::MultiArgClass, ID, Name, Group, Alias), NumArgs(_NumArgs) {
241 const Option *Alias)
242 : Option(Option::JoinedOrSeparateClass, ID, Name, Group, Alias) {
265 const Option *Alias)
266 : Option(Option::JoinedAndSeparateClass, ID, Name, Group, Alias) {