[Mlir-commits] [mlir] [mlir] add overload `createDIScopeForLLVMFuncOp` function (PR #111689)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Oct 9 18:43:54 PDT 2024


================
@@ -86,6 +86,10 @@ namespace {
 /// Add a debug info scope to LLVMFuncOp that are missing it.
 struct DIScopeForLLVMFuncOp
     : public LLVM::impl::DIScopeForLLVMFuncOpBase<DIScopeForLLVMFuncOp> {
+  DIScopeForLLVMFuncOp() = default;
+  DIScopeForLLVMFuncOp(const mlir::LLVM::DIScopeForLLVMFuncOpOptions &options)
----------------
Observer007 wrote:

Thanks, using `using Base::Base` instead.

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


More information about the Mlir-commits mailing list