Lines Matching defs:Opt
76 OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {}
138 Option *Opt = 0;
141 Opt = new InputOption(id); break;
143 Opt = new UnknownOption(id); break;
145 Opt = new OptionGroup(id, info.Name, Group); break;
147 Opt = new FlagOption(id, info.Name, Group, Alias); break;
149 Opt = new JoinedOption(id, info.Name, Group, Alias); break;
151 Opt = new SeparateOption(id, info.Name, Group, Alias); break;
153 Opt = new CommaJoinedOption(id, info.Name, Group, Alias); break;
155 Opt = new MultiArgOption(id, info.Name, Group, Alias, info.Param); break;
157 Opt = new JoinedOrSeparateOption(id, info.Name, Group, Alias); break;
159 Opt = new JoinedAndSeparateOption(id, info.Name, Group, Alias); break;
163 Opt->setDriverOption(true);
165 Opt->setLinkerInput(true);
167 Opt->setNoArgumentUnused(true);
169 Opt->setNoForward(true);
171 Opt->setNoOptAsInput(true);
175 Opt->setRenderStyle(Option::RenderJoinedStyle);
180 Opt->setRenderStyle(Option::RenderSeparateStyle);
183 Opt->setUnsupported(true);
185 return Opt;