* */
| 261 | * |
| 262 | */ |
| 263 | void |
| 264 | FunctionInvocationUnary::indented_output(std::ostream &out, int indent) const |
| 265 | { |
| 266 | out << "("; |
| 267 | switch (eFunc) { |
| 268 | default: |
| 269 | assert(!"invalid operator in FunctionInvocationUnary::Output()"); |
| 270 | break; |
| 271 | |
| 272 | case eMinus: |
| 273 | if (CGOptions::avoid_signed_overflow()) { |
| 274 | out << op_flags->to_string(eFunc); |
| 275 | output_open_encloser("(", out, indent); |
| 276 | param_value[0]->indented_output(out, indent); |
| 277 | output_close_encloser(")", out, indent); |
| 278 | break; |
| 279 | } |
| 280 | // Fallthrough! |
| 281 | |
| 282 | case ePlus: |
| 283 | case eNot: |
| 284 | case eBitNot: |
| 285 | OutputStandardFuncName(eFunc, out); |
| 286 | param_value[0]->indented_output(out, indent); |
| 287 | break; |
| 288 | } |
| 289 | out << ")"; |
| 290 | } |
| 291 | |
| 292 | /////////////////////////////////////////////////////////////////////////////// |
| 293 |
nothing calls this directly
no test coverage detected