Determine whether the signature has an argument or return type that contains typeName. typeName should be in lower case.
| 465 | // Determine whether the signature has an argument or return type that |
| 466 | // contains typeName. typeName should be in lower case. |
| 467 | bool useTypeName( |
| 468 | const exec::FunctionSignature& signature, |
| 469 | const std::string& typeName) { |
| 470 | if (containTypeName(signature.returnType(), typeName)) { |
| 471 | return true; |
| 472 | } |
| 473 | for (const auto& argument : signature.argumentTypes()) { |
| 474 | if (containTypeName(argument, typeName)) { |
| 475 | return true; |
| 476 | } |
| 477 | } |
| 478 | return false; |
| 479 | } |
| 480 | |
| 481 | bool isSupportedSignature( |
| 482 | const exec::FunctionSignature& signature, |
no test coverage detected