Lines Matching defs:StreamState
29 struct StreamState { struct
30 enum Kind { Opened, Closed, OpenFailed, Escaped } K;
31 const Stmt *S;
33 StreamState(Kind k, const Stmt *s) : K(k), S(s) {} in StreamState() argument
35 bool isOpened() const { return K == Opened; } in isOpened()
36 bool isClosed() const { return K == Closed; } in isClosed()
40 bool operator==(const StreamState &X) const { in operator ==()
44 static StreamState getOpened(const Stmt *s) { return StreamState(Opened, s); } in getOpened()
45 static StreamState getClosed(const Stmt *s) { return StreamState(Closed, s); } in getClosed()
46 static StreamState getOpenFailed(const Stmt *s) { in getOpenFailed()
49 static StreamState getEscaped(const Stmt *s) { in getEscaped()
53 void Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
105 REGISTER_MAP_WITH_PROGRAMSTATE(StreamMap, SymbolRef, StreamState) in REGISTER_MAP_WITH_PROGRAMSTATE() argument