[Mlir-commits] [llvm] [mlir] eliminating g++ warnings (PR #105520)

David Blaikie llvmlistbot at llvm.org
Wed Aug 21 10:27:57 PDT 2024


================
@@ -94,6 +94,7 @@ class Pass {
     Option(Pass &parent, StringRef arg, Args &&...args)
         : detail::PassOptions::Option<DataType, OptionParser>(
               parent.passOptions, arg, std::forward<Args>(args)...) {}
+    Option &operator=(const Option &other) = default; // gcc11
----------------
dwblaikie wrote:

what's the problem here? What warning/issue is being addressed? (& the comment could probably be more verbose/explicit)

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


More information about the Mlir-commits mailing list