| 71 | } |
| 72 | |
| 73 | bool OverloadExists(const Resolver& resolver, absl::string_view name, |
| 74 | const std::vector<cel::Kind>& arguments_matcher, |
| 75 | bool receiver_style = false) { |
| 76 | return !resolver.FindOverloads(name, receiver_style, arguments_matcher) |
| 77 | .empty() || |
| 78 | !resolver.FindLazyOverloads(name, receiver_style, arguments_matcher) |
| 79 | .empty(); |
| 80 | } |
| 81 | |
| 82 | // Return the qualified name of the most qualified matching overload, or |
| 83 | // nullopt if no matches are found. |
no test coverage detected