================
@@ -9027,9 +9048,10 @@ bool Sema::CheckExplicitlyDefaultedComparison(Scope *S,
FunctionDecl *FD,
UnresolvedSet<32> Operators;
lookupOperatorsForDefaultedComparison(*this, S, Operators,
FD->getOverloadedOperator());
- FD->setDefaultedOrDeletedInfo(
- FunctionDecl::DefaultedOrDeletedFunctionInfo::Create(
- Context, Operators.pairs()));
+ auto *Info = FunctionDecl::DefaultedOrDeletedFunctionInfo::Create(
----------------
erichkeane wrote:
Why this change? Why can't we just use the `setDefaultedOrDeletedInfo` version
with `FPFeatures` here?
https://github.com/llvm/llvm-project/pull/207429
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits