| 134 | } |
| 135 | |
| 136 | bool Context::ValidateNotZero(bool is_zero, const char* vuid, const Location& loc) const { |
| 137 | bool skip = false; |
| 138 | if (is_zero) { |
| 139 | skip |= log.LogError(vuid, error_obj.handle, loc, "is zero."); |
| 140 | } |
| 141 | return skip; |
| 142 | } |
| 143 | |
| 144 | bool Context::ValidateRequiredPointer(const Location& loc, const void* value, const char* vuid) const { |
| 145 | bool skip = false; |
no test coverage detected