nots1dd wrote:

> This PR adds a completeness check in `Sema::ActOnCXXDelete` so type-aware 
> operator delete lookup is skipped when the pointee type is incomplete.
> 
> Added a test covering C++17/23 (warn) and C++26 (error).
> 
> Fixes #212675

Hey, just curious in case am missing anything why not just check the language 
opts (`LangOpts`) for the cpp standard and accordingly decide if we want to 
allow type aware allocator lookup?

https://github.com/llvm/llvm-project/pull/213455
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to