Home | History | Annotate | Download | only in Option

Lines Matching defs:Option

1 //===--- Option.cpp - Abstract Driver Options -----------------------------===//
10 #include "llvm/Option/Option.h"
12 #include "llvm/Option/Arg.h"
13 #include "llvm/Option/ArgList.h"
22 Option::Option(const OptTable::Info *info, const OptTable *owner)
25 // Multi-level aliases are not supported. This just simplifies option
34 "Cannot provide alias args to a flag option.");
38 void Option::dump() const {
66 const Option Group = getGroup();
72 const Option Alias = getAlias();
84 bool Option::matches(OptSpecifier Opt) const {
86 const Option Alias = getAlias();
94 const Option Group = getGroup();
100 Arg *Option::accept(const ArgList &Args,
103 const Option &UnaliasedOption = getUnaliasedOption();
105 // If the option was an alias, get the spelling from the unaliased one.
230 llvm_unreachable("Invalid option kind!");