[PATCH] D125994: [NFC] Define move and copy constructors and copy assignment operators for MDOperand.

Duncan P. N. Exon Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 19 12:54:27 PDT 2022


dexonsmith added inline comments.


================
Comment at: llvm/include/llvm/IR/Metadata.h:793
   }
   void reset(Metadata *MD, Metadata *Owner) {
     untrack();
----------------
Looking at this, is it even safe to use the standard move operators? Seems like you don’t have a way to pass in the owner…


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125994/new/

https://reviews.llvm.org/D125994



More information about the llvm-commits mailing list