| 35 | using absl::StrCat; |
| 36 | |
| 37 | string CallContextToString(CallContext context) { |
| 38 | switch (context) { |
| 39 | case CallContext::kNone: |
| 40 | return "kNone"; |
| 41 | case CallContext::kSequential: |
| 42 | return "kSequential"; |
| 43 | case CallContext::kParallel: |
| 44 | return "kParallel"; |
| 45 | case CallContext::kBoth: |
| 46 | return "kBoth"; |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | std::ostream& operator<<(std::ostream& out, const CallContext& context) { |
| 51 | out << CallContextToString(context); |
no outgoing calls
no test coverage detected