[llvm] [ADT] refactor MoveOnly type in ADT unittest (PR #94421)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 4 19:57:54 PDT 2024


c8ef wrote:

> Looks good, but for the code that was using MoveOnly could you add checks that no copy operations happened there? (Previously the code would've checked that statically, since the type was move only so it would fail to compile)

Assertions added to ensure zero copying.

> And so you need me to push this for you?

That would be great, Thanks!


https://github.com/llvm/llvm-project/pull/94421


More information about the llvm-commits mailing list