labath added a comment.
The main reason for that is because the platform objects are generally created
in a loop (`for (factory : plugins) { result = factory(cantMove(name), ...)}`),
so we can't make use of the move semantics because we don't know which
construction will stick.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119146/new/
https://reviews.llvm.org/D119146
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits