Lines Matching defs:StreamErrorState
38 struct StreamErrorState { struct
40 bool NoError = true;
42 bool FEof = false;
44 bool FError = false;
46 bool isNoError() const { return NoError && !FEof && !FError; } in isNoError()
47 bool isFEof() const { return !NoError && FEof && !FError; } in isFEof()
48 bool isFError() const { return !NoError && !FEof && FError; } in isFError()
50 bool operator==(const StreamErrorState &ES) const { in operator ==()
54 bool operator!=(const StreamErrorState &ES) const { return !(*this == ES); } in operator !=()
56 StreamErrorState operator|(const StreamErrorState &E) const { in operator |()
60 StreamErrorState operator&(const StreamErrorState &E) const { in operator &()
64 StreamErrorState operator~() const { return {!NoError, !FEof, !FError}; } in operator ~()
67 operator bool() const { return NoError || FEof || FError; } in operator bool()
69 void Profile(llvm::FoldingSetNodeID &ID) const { in Profile()