[PATCH] D126401: [ADT] Explicitly delete copy/move constructors and operator= in IntervalMap
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 25 12:38:59 PDT 2022
dblaikie accepted this revision.
dblaikie added a comment.
This revision is now accepted and ready to land.
Sounds good - maybe add some static_asserts in the unit test to validate that these operations are appropriately deleted? & could you make the comment more definitive - "Delete these operations as the defaults would be shallow/cause incorrect shared state. Implement these if/when needed/worthwhile to do so." or something like that.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126401/new/
https://reviews.llvm.org/D126401
More information about the llvm-commits
mailing list