Lines Matching refs:Invalid
148 bool Invalid;
151 ActionResult(bool Invalid = false)
152 : Val(PtrTy()), Invalid(Invalid) {}
153 ActionResult(PtrTy val) : Val(val), Invalid(false) {}
154 ActionResult(const DiagnosticBuilder &) : Val(PtrTy()), Invalid(true) {}
160 bool isInvalid() const { return Invalid; }
161 bool isUsable() const { return !Invalid && Val; }
162 bool isUnset() const { return !Invalid && !Val; }
171 Invalid = false;
185 ActionResult(bool Invalid = false)
186 : PtrWithInvalid(static_cast<uintptr_t>(Invalid)) { }