class Impl
: public TraitBase<ConcreteType, OneTypedResult<ResultType>::Impl> {
public:
- TypedValue<ResultType> getResult() {
- return cast<TypedValue<ResultType>>(this->getOperation()->getResult(0));
+ mlir::TypedValue<ResultType> getResult() {
+ return cast<mlir::TypedValue<ResultType>>(
+ this->getOperation()->getResult(0));
}
/// If the operation returns a single value, then the Op can be implicitly
/// converted to a Value. This yields the value of the only result.
- operator TypedValue<ResultType>() { return getResult(); }
+ operator mlir::TypedValue<ResultType>() { return getResult(); }
ResultType getType() { return getResult().getType(); }
};