#ifndef LLVM_OPTION_OPTSPECIFIER_H
#define LLVM_OPTION_OPTSPECIFIER_H
namespace llvm {
namespace opt {
class Option;
class OptSpecifier {
unsigned ID;
private:
explicit OptSpecifier(bool);
public:
OptSpecifier() : ID(0) {}
OptSpecifier(unsigned _ID) : ID(_ID) {}
OptSpecifier(const Option *Opt);
bool isValid() const { return ID != 0; }
unsigned getID() const { return ID; }
bool operator==(OptSpecifier Opt) const { return ID == Opt.getID(); }
bool operator!=(OptSpecifier Opt) const { return !(*this == Opt); }
};
}
}
#endif