Lines Matching defs:StreamErrorState
42 struct StreamErrorState { struct
44 bool NoError = true;
46 bool FEof = false;
48 bool FError = false;
50 bool isNoError() const { return NoError && !FEof && !FError; } in isNoError()
51 bool isFEof() const { return !NoError && FEof && !FError; } in isFEof()
52 bool isFError() const { return !NoError && !FEof && FError; } in isFError()
54 bool operator==(const StreamErrorState &ES) const { in operator ==()
58 bool operator!=(const StreamErrorState &ES) const { return !(*this == ES); } in operator !=()
60 StreamErrorState operator|(const StreamErrorState &E) const { in operator |()
64 StreamErrorState operator&(const StreamErrorState &E) const { in operator &()
68 StreamErrorState operator~() const { return {!NoError, !FEof, !FError}; } in operator ~()
71 operator bool() const { return NoError || FEof || FError; } in operator bool()
73 void Profile(llvm::FoldingSetNodeID &ID) const { in Profile()