| 217 | } |
| 218 | |
| 219 | uint64_t CheckEidHint ( TestObjectFoo & foo, char * const name, uint64_t hashHint, Context * context, LineInfoArg * at ) { |
| 220 | if (!name) context->throw_error_at(at, "invalid id"); |
| 221 | uint64_t hv = hash_function(*context, name) + foo.fooData; |
| 222 | if ( hv != hashHint ) context->throw_error_at(at, "invalid hash value"); |
| 223 | return hashHint; |
| 224 | } |
| 225 | |
| 226 | struct CheckEidFunctionAnnotation : TransformFunctionAnnotation { |
| 227 | CheckEidFunctionAnnotation() : TransformFunctionAnnotation("check_eid") { } |
nothing calls this directly
no test coverage detected