Lines Matching defs:StreamState
85 struct StreamState { struct
87 const FnDescription *LastOperation;
91 enum KindTy {
95 } State;
99 StreamErrorState const ErrorState;
109 bool const FilePositionIndeterminate = false;
111 StreamState(const FnDescription *L, KindTy S, const StreamErrorState &ES, in StreamState() argument
121 bool isOpened() const { return State == Opened; } in isOpened()
122 bool isClosed() const { return State == Closed; } in isClosed()
123 bool isOpenFailed() const { return State == OpenFailed; } in isOpenFailed()
125 bool operator==(const StreamState &X) const { in operator ==()
133 static StreamState getOpened(const FnDescription *L, in getOpened()
138 static StreamState getClosed(const FnDescription *L) { in getClosed()
141 static StreamState getOpenFailed(const FnDescription *L) { in getOpenFailed()
145 void Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
425 REGISTER_MAP_WITH_PROGRAMSTATE(StreamMap, SymbolRef, StreamState) in REGISTER_MAP_WITH_PROGRAMSTATE() argument