Lines Matching defs:StreamErrorState
43 struct StreamErrorState { struct
45 bool NoError = true;
47 bool FEof = false;
49 bool FError = false;
51 bool isNoError() const { return NoError && !FEof && !FError; } in isNoError()
52 bool isFEof() const { return !NoError && FEof && !FError; } in isFEof()
53 bool isFError() const { return !NoError && !FEof && FError; } in isFError()
55 bool operator==(const StreamErrorState &ES) const { in operator ==()
59 bool operator!=(const StreamErrorState &ES) const { return !(*this == ES); } in operator !=()
61 StreamErrorState operator|(const StreamErrorState &E) const { in operator |()
65 StreamErrorState operator&(const StreamErrorState &E) const { in operator &()
69 StreamErrorState operator~() const { return {!NoError, !FEof, !FError}; } in operator ~()
72 operator bool() const { return NoError || FEof || FError; } in operator bool()
74 void Profile(llvm::FoldingSetNodeID &ID) const { in Profile()