Searched defs:OptSpecifier (Results 1 - 2 of 2) sorted by relevance

/freebsd-head/contrib/llvm-project/llvm/include/llvm/Option/
H A DOptSpecifier.h1 //===- OptSpecifier.h - Option Specifiers -----------------------*- C++ -*-===//
17 /// OptSpecifier - Wrapper class for abstracting references to option IDs.
18 class OptSpecifier { class in namespace:llvm::opt
22 OptSpecifier() = default;
23 explicit OptSpecifier(bool) = delete;
24 /*implicit*/ OptSpecifier(unsigned ID) : ID(ID) {} function in class:llvm::opt::OptSpecifier
25 /*implicit*/ OptSpecifier(const Option *Opt);
31 bool operator==(OptSpecifier Opt) const { return ID == Opt.getID(); }
32 bool operator!=(OptSpecifier Opt) const { return !(*this == Opt); }
/freebsd-head/contrib/llvm-project/llvm/lib/Option/
H A DOptTable.cpp15 #include "llvm/Option/OptSpecifier.h"
95 OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {} function in class:OptSpecifier
161 const Option OptTable::getOption(OptSpecifier Opt) const {
435 static std::string getOptionHelpName(const OptTable &Opts, OptSpecifier Id) {
515 static const char *getOptionHelpGroup(const OptTable &Opts, OptSpecifier Id) {

Completed in 105 milliseconds