This is the following update for the update in CWG issue 2585: https://cplusplus.github.io/CWG/issues/2585.html
The new updates in CWG issue 2585 say that we shouldn't lookup ::operator new(std::size_t, p0, ..., p1) in global scope.
Differential D126187
[C++20] [Coroutines] Conform the updates for CWG issue 2585 ChuanqiXu on May 23 2022, 1:38 AM. Authored by
Details
This is the following update for the update in CWG issue 2585: https://cplusplus.github.io/CWG/issues/2585.html The new updates in CWG issue 2585 say that we shouldn't lookup ::operator new(std::size_t, p0, ..., p1) in global scope.
Diff Detail Event TimelineComment Actions Also needs some release notes.
Comment Actions I have a change to the release note that I'd like to see improved in SOME way, but I trust you to correct/reword as you wish. I'm still not particularly happy with the mechanism of the test, but I cannot come up with a way to cause the Semantic Analyzer to cause this. I think I have a preference to move it to CodeGenCXX anyway however, since we're actually testing the code-generated output (this is not novel, we DO often use CodeGen tests to make sure proper overloads/etc get called).
Comment Actions
It makes sense. Done. Thanks for reviewing!
|
I realize it isn't part of this patch, but this release note reads awkwardly... How about: