Lines Matching defs:StreamState
81 struct StreamState { struct
83 const FnDescription *LastOperation;
87 enum KindTy {
91 } State;
95 StreamErrorState const ErrorState;
105 bool const FilePositionIndeterminate = false;
107 StreamState(const FnDescription *L, KindTy S, const StreamErrorState &ES, in StreamState() function
117 bool isOpened() const { return State == Opened; } in isOpened()
118 bool isClosed() const { return State == Closed; } in isClosed()
119 bool isOpenFailed() const { return State == OpenFailed; } in isOpenFailed()
121 bool operator==(const StreamState &X) const { in operator ==()
129 static StreamState getOpened(const FnDescription *L, in getOpened()
134 static StreamState getClosed(const FnDescription *L) { in getClosed()
137 static StreamState getOpenFailed(const FnDescription *L) { in getOpenFailed()
141 void Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
393 REGISTER_MAP_WITH_PROGRAMSTATE(StreamMap, SymbolRef, StreamState) in REGISTER_MAP_WITH_PROGRAMSTATE() argument