================
@@ -2915,9 +2917,9 @@ DiagnoseAllocationLookupFailure(Sema &SemaRef, const
LookupResult &BaseLookup,
auto Rerun = [&](ImplicitAllocationArguments &ArgumentList,
OverloadCandidateSet &Candidates,
SmallVectorImpl<Expr *> &Args) {
+ std::optional<LookupResult> MSVCFallback;
const LookupResult &LocalLookup =
- ArgumentList.updateLookupForMSVCCompatibility(SemaRef, BaseLookup,
- MSVCFallback);
+ ArgumentList.updateLookupForMSVCCompatibility(SemaRef, R,
MSVCFallback);
----------------
ojhunt wrote:
But failing to do so leaves a non-obvious hazard for future work, and having it
here does not have a meaningful cost?
https://github.com/llvm/llvm-project/pull/211482
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits