| 8731 | } |
| 8732 | |
| 8733 | void ValueType::setDebugPath(const Token* tok, SourceLocation ctx, const SourceLocation &local) |
| 8734 | { |
| 8735 | std::string file = ctx.file_name(); |
| 8736 | if (file.empty()) |
| 8737 | return; |
| 8738 | std::string s = Path::stripDirectoryPart(file) + ":" + std::to_string(ctx.line()) + ": " + ctx.function_name() + |
| 8739 | " => " + local.function_name(); |
| 8740 | debugPath.emplace_back(tok, std::move(s)); |
| 8741 | } |
| 8742 | |
| 8743 | ValueType::MatchResult ValueType::matchParameter(const ValueType *call, const ValueType *func) |
| 8744 | { |
no test coverage detected