Lines Matching defs:Valid
282 // want. This is only valid on "opt" arguments, not on "list" arguments.
353 bool Valid;
355 OptionValueCopy() : Valid(false) {}
357 bool hasValue() const { return Valid; }
360 assert(Valid && "invalid option value");
364 void setValue(const DataType &V) { Valid = true; Value = V; }
367 return Valid && (Value != V);