| 4044 | } |
| 4045 | |
| 4046 | void formatReconstructedExpression( std::ostream &os, std::string const& lhs, StringRef op, std::string const& rhs ) { |
| 4047 | if( lhs.size() + rhs.size() < 40 && |
| 4048 | lhs.find('\n') == std::string::npos && |
| 4049 | rhs.find('\n') == std::string::npos ) |
| 4050 | os << lhs << ' ' << op << ' ' << rhs; |
| 4051 | else |
| 4052 | os << lhs << '\n' << op << '\n' << rhs; |
| 4053 | } |
| 4054 | } |
| 4055 | |
| 4056 |
no test coverage detected