reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Option/OptSpecifier.h
   15 class Option;
include/llvm/Option/OptTable.h
   29 class Option;

References

include/llvm/Option/Arg.h
   37   const Option Opt;
   67   Arg(const Option Opt, StringRef Spelling, unsigned Index,
   69   Arg(const Option Opt, StringRef Spelling, unsigned Index,
   71   Arg(const Option Opt, StringRef Spelling, unsigned Index,
   77   const Option &getOption() const { return Opt; }
include/llvm/Option/ArgList.h
   59       const Option &O = (*Current)->getOption();
  469   void AddFlagArg(const Arg *BaseArg, const Option Opt) {
  476   void AddPositionalArg(const Arg *BaseArg, const Option Opt,
  484   void AddSeparateArg(const Arg *BaseArg, const Option Opt,
  491   void AddJoinedArg(const Arg *BaseArg, const Option Opt,
  497   Arg *MakeFlagArg(const Arg *BaseArg, const Option Opt) const;
  501   Arg *MakePositionalArg(const Arg *BaseArg, const Option Opt,
  506   Arg *MakeSeparateArg(const Arg *BaseArg, const Option Opt,
  511   Arg *MakeJoinedArg(const Arg *BaseArg, const Option Opt,
include/llvm/Option/OptSpecifier.h
   25   /*implicit*/ OptSpecifier(const Option *Opt);
include/llvm/Option/OptTable.h
   95   const Option getOption(OptSpecifier Opt) const;
include/llvm/Option/Option.h
  103   const Option getGroup() const {
  109   const Option getAlias() const {
  176   const Option getUnaliasedOption() const {
  177     const Option Alias = getAlias();
lib/Option/Arg.cpp
   21 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const Arg *BaseArg)
   25 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0,
   32 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0,
   98   case Option::RenderValuesStyle:
  102   case Option::RenderCommaJoinedStyle: {
  114  case Option::RenderJoinedStyle:
  120   case Option::RenderSeparateStyle:
lib/Option/ArgList.cpp
   37   for (Option O = A->getOption().getUnaliasedOption(); O.isValid();
  242 Arg *DerivedArgList::MakeFlagArg(const Arg *BaseArg, const Option Opt) const {
  249 Arg *DerivedArgList::MakePositionalArg(const Arg *BaseArg, const Option Opt,
  258 Arg *DerivedArgList::MakeSeparateArg(const Arg *BaseArg, const Option Opt,
  267 Arg *DerivedArgList::MakeJoinedArg(const Arg *BaseArg, const Option Opt,
lib/Option/OptTable.cpp
   83   return B.Kind == Option::JoinedClass;
   95 OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {}
  105     if (Kind == Option::InputClass) {
  108     } else if (Kind == Option::UnknownClass) {
  111     } else if (Kind != Option::GroupClass) {
  122     Option::OptionClass Kind = (Option::OptionClass) getInfo(i + 1).Kind;
  161 const Option OptTable::getOption(OptSpecifier Opt) const {
  368     Option Opt(Start, this);
  436   const Option O = Opts.getOption(Id);
  441   case Option::GroupClass: case Option::InputClass: case Option::UnknownClass:
  441   case Option::GroupClass: case Option::InputClass: case Option::UnknownClass:
  441   case Option::GroupClass: case Option::InputClass: case Option::UnknownClass:
  444   case Option::MultiArgClass:
  458   case Option::FlagClass:
  461   case Option::ValuesClass:
  464   case Option::SeparateClass: case Option::JoinedOrSeparateClass:
  464   case Option::SeparateClass: case Option::JoinedOrSeparateClass:
  465   case Option::RemainingArgsClass: case Option::RemainingArgsJoinedClass:
  465   case Option::RemainingArgsClass: case Option::RemainingArgsJoinedClass:
  468   case Option::JoinedClass: case Option::CommaJoinedClass:
  468   case Option::JoinedClass: case Option::CommaJoinedClass:
  469   case Option::JoinedAndSeparateClass:
  551     if (getOptionKind(Id) == Option::GroupClass)
  564       const Option Alias = getOption(Id).getAlias();
lib/Option/Option.cpp
   71   const Option Group = getGroup();
   77   const Option Alias = getAlias();
   95   const Option Alias = getAlias();
  103   const Option Group = getGroup();
  240   const Option &UnaliasedOption = getUnaliasedOption();
tools/clang/lib/Driver/Driver.cpp
 2097     if (A->getOption().getKind() == Option::InputClass) {
 3080         InputArg->getOption().getKind() == llvm::opt::Option::InputClass &&
 3692       const Option &Opt = A->getOption();
 3693       if (Opt.getKind() == Option::FlagClass) {
tools/clang/lib/Driver/ToolChains/Arch/Mips.cpp
  236     Option O = LastPICArg->getOption();
tools/clang/lib/Driver/ToolChains/Clang.cpp
 1829     const Option &O = A->getOption();
 1962     if (O.getKind() == Option::InputClass)
 2669     const Option &O = Arg->getOption();
 3053     const Option &O = A->getOption();
 3065     const Option &O = A->getOption();
 4922     const Option &Opt = A->getOption();
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
  990       Option O = LastPICArg->getOption();
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  310     const Option &Opt = A->getOption();
  721   const Option &O = A->getOption();
tools/clang/lib/Driver/ToolChains/Darwin.cpp
 2207     const Option MCpu = Opts.getOption(options::OPT_mcpu_EQ);
 2208     const Option MArch = Opts.getOption(clang::driver::options::OPT_march_EQ);
tools/clang/lib/Driver/ToolChains/Gnu.cpp
   41 static bool forwardToGCC(const Option &O) {
   44   return O.getKind() != Option::InputClass &&
tools/clang/lib/Frontend/CompilerInvocation.cpp
  170     if (A->getOption().getKind() == Option::FlagClass) {
  194     const Option &O = Arg->getOption();
  697       const Option &InlineOpt = InlineArg->getOption();
 1465     const Option &O = A->getOption();
 2738     const Option &Opt = A->getOption();
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
  167       const llvm::opt::Option &Opt = Arg->getOption();
  283     const llvm::opt::Option &Opt = Arg.getOption();
tools/lld/Common/Reproduce.cpp
   58   if (arg.getOption().getRenderStyle() == opt::Option::RenderJoinedStyle)
usr/include/c++/7.4.0/bits/move.h
   72     constexpr _Tp&&
   83     constexpr _Tp&&
usr/include/c++/7.4.0/bits/unique_ptr.h
  824     make_unique(_Args&&... __args)