Lines Matching defs:emitError
79 parser.emitError(parser.getCurrentLocation()) << "expected an integer";
126 TestI64ElementsAttr::verify(function_ref<InFlightDiagnostic()> emitError,
129 return emitError()
134 return emitError() << "expected single rank 64-bit shape type, but got: "
140 function_ref<InFlightDiagnostic()> emitError, int64_t one, std::string two,
144 return emitError() << "expected 'one' to equal 'four.size()'";
308 return p.emitError(p.getCurrentLocation(), "unknown float type, expected "
337 [](function_ref<InFlightDiagnostic()> emitError,
340 emitError() << "expected 0 attribute arguments, but had "
353 [](function_ref<InFlightDiagnostic()> emitError,
356 emitError() << "expected 2 attribute arguments, but had "
366 auto verifier = [](function_ref<InFlightDiagnostic()> emitError,
369 emitError() << "expected 2 attribute arguments, but had " << args.size();