[Mlir-commits] [mlir] [mlir][llvmir] implement missing attrs `getChecked` (PR #121248)

Tobias Gysi llvmlistbot at llvm.org
Sat Dec 28 02:03:53 PST 2024


================
@@ -296,6 +305,20 @@ TargetFeaturesAttr TargetFeaturesAttr::get(MLIRContext *context,
   return get(context, features);
 }
 
+TargetFeaturesAttr TargetFeaturesAttr::getChecked(
+    llvm::function_ref<::mlir::InFlightDiagnostic()> emitError,
----------------
gysit wrote:

```suggestion
    function_ref<InFlightDiagnostic()> emitError,
```

https://github.com/llvm/llvm-project/pull/121248


More information about the Mlir-commits mailing list