Searched defs:StreamState (Results 1 – 2 of 2) sorted by relevance
31 struct StreamState { struct33 enum Kind { Opened, Closed } K;34 StreamState(Kind InK) : K(InK) { } in StreamState() function37 bool isOpened() const { return K == Opened; } in isOpened()38 bool isClosed() const { return K == Closed; } in isClosed()40 static StreamState getOpened() { return StreamState(Opened); } in getOpened()41 static StreamState getClosed() { return StreamState(Closed); } in getClosed()43 bool operator==(const StreamState &X) const { in operator ==()46 void Profile(llvm::FoldingSetNodeID &ID) const { in Profile()91 REGISTER_MAP_WITH_PROGRAMSTATE(StreamMap, SymbolRef, StreamState) in REGISTER_MAP_WITH_PROGRAMSTATE() argument
98 struct StreamState { struct101 const FnDescription *LastOperation;104 enum KindTy {108 } State;110 StringRef getKindStr() const { in getKindStr()124 StreamErrorState const ErrorState;134 bool const FilePositionIndeterminate = false;136 StreamState(const FnDescription *L, KindTy S, const StreamErrorState &ES, in StreamState() function146 bool isOpened() const { return State == Opened; } in isOpened()147 bool isClosed() const { return State == Closed; } in isClosed()[all …]