Home
last modified time | relevance | path

Searched defs:StreamErrorState (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStreamChecker.cpp49 struct StreamErrorState { struct
51 bool NoError = true;
53 bool FEof = false;
55 bool FError = false;
57 bool isNoError() const { return NoError && !FEof && !FError; } in isNoError()
58 bool isFEof() const { return !NoError && FEof && !FError; } in isFEof()
59 bool isFError() const { return !NoError && !FEof && FError; } in isFError()
61 bool operator==(const StreamErrorState &ES) const { in operator ==()
65 bool operator!=(const StreamErrorState &ES) const { return !(*this == ES); } in operator !=()
67 StreamErrorState operator|(const StreamErrorState &E) const { in operator |()
[all …]