================ @@ -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) ---------------- ojhunt wrote:
@cor3ntin where should it go? Sema.h seems like it runs the risk of copious namespace pollution? https://github.com/llvm/llvm-project/pull/113510 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits