| 503 | } |
| 504 | |
| 505 | absl::StatusOr<Value> InequalOverloadImpl( |
| 506 | const Value& lhs, const Value& rhs, |
| 507 | const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool, |
| 508 | google::protobuf::MessageFactory* absl_nonnull message_factory, |
| 509 | google::protobuf::Arena* absl_nonnull arena) { |
| 510 | CEL_ASSIGN_OR_RETURN(absl::optional<bool> result, |
| 511 | runtime_internal::ValueEqualImpl( |
| 512 | lhs, rhs, descriptor_pool, message_factory, arena)); |
| 513 | if (result.has_value()) { |
| 514 | return BoolValue(!*result); |
| 515 | } |
| 516 | return ErrorValue( |
| 517 | cel::runtime_internal::CreateNoMatchingOverloadError(kInequal)); |
| 518 | } |
| 519 | |
| 520 | absl::Status RegisterHeterogeneousEqualityFunctions( |
| 521 | cel::FunctionRegistry& registry) { |
nothing calls this directly
no test coverage detected