Lines Matching refs:emitError
81 parser.emitError(idLoc) << "expected a type or a quoted string"; in parse()
139 DataLayoutSpecAttr::getChecked(function_ref<InFlightDiagnostic()> emitError, in getChecked() argument
142 return Base::getChecked(emitError, context, entries); in getChecked()
146 DataLayoutSpecAttr::verify(function_ref<InFlightDiagnostic()> emitError, in verify() argument
153 return emitError() << "repeated layout entry key: " << type; in verify()
157 return emitError() << "repeated layout entry key: " << id.getValue(); in verify()
294 return getChecked([&] { return parser.emitError(parser.getNameLoc()); }, in parse()
327 return emitError(loc) << "'" << entryName in verifyEntry()
332 return emitError(loc) << "unknown data layout entry name: " << entryName; in verifyEntry()
353 parser.emitError(parser.getNameLoc(), "unknown attrribute type: ") in parseAttribute()
369 return op->emitError() << "'" << DLTIDialect::kDataLayoutAttrName in verifyOperationAttribute()
377 return op->emitError() << "attribute '" << attr.getName().getValue() in verifyOperationAttribute()