Lines Matching defs:diagnostic
216 // When having both a consumer and an diagnostic object, the diagnostic object
229 spv_diagnostic diagnostic = nullptr;
232 &diagnostic));
237 diagnostic->error);
239 spvDiagnosticDestroy(diagnostic);
260 spv_diagnostic diagnostic = nullptr;
264 &diagnostic));
267 EXPECT_STREQ("Invalid opcode: 65535", diagnostic->error);
270 spvDiagnosticDestroy(diagnostic);
289 spv_diagnostic diagnostic = nullptr;
291 EXPECT_EQ(SPV_ERROR_INVALID_LAYOUT, spvValidate(context, &b, &diagnostic));
297 diagnostic->error);
299 spvDiagnosticDestroy(diagnostic);