Lines Matching defs:StreamState
86 struct StreamState { struct
88 const FnDescription *LastOperation;
92 enum KindTy {
96 } State;
100 StreamErrorState const ErrorState;
110 bool const FilePositionIndeterminate = false;
112 StreamState(const FnDescription *L, KindTy S, const StreamErrorState &ES, in StreamState() function
122 bool isOpened() const { return State == Opened; } in isOpened()
123 bool isClosed() const { return State == Closed; } in isClosed()
124 bool isOpenFailed() const { return State == OpenFailed; } in isOpenFailed()
126 bool operator==(const StreamState &X) const { in operator ==()
134 static StreamState getOpened(const FnDescription *L, in getOpened()
139 static StreamState getClosed(const FnDescription *L) { in getClosed()
142 static StreamState getOpenFailed(const FnDescription *L) { in getOpenFailed()
146 void Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
426 REGISTER_MAP_WITH_PROGRAMSTATE(StreamMap, SymbolRef, StreamState) in REGISTER_MAP_WITH_PROGRAMSTATE() argument