[clang] [RFC] Initial implementation of P2719 (PR #113510)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 25 12:57:47 PDT 2025
================
@@ -1866,13 +1959,13 @@ static UsualDeallocFnInfo resolveDeallocationOverload(
BestFns->push_back(Info);
continue;
}
-
- if (Best.isBetterThan(Info, WantSize, WantAlign))
+ int ComparisonResult = Best.Compare(S, Info, IDP);
+ if (ComparisonResult > 0)
----------------
cor3ntin wrote:
Yes, I think so
<!-- Reviewable comment -OMDr9w70kYLYn-jPWs0:bjs55jr -->
<!-- Sent from Reviewable.io -->
https://github.com/llvm/llvm-project/pull/113510
More information about the cfe-commits
mailing list