[llvm] [mlir] eliminating g++ warnings (PR #105520)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 11 04:51:13 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 -Wdeprecated-copy
----------------
arsenm wrote:
The comment doesn't really mean anything to me, and I don't think it's helpful or necessary
https://github.com/llvm/llvm-project/pull/105520
More information about the llvm-commits
mailing list