void DICompositeType::setContainingType(DICompositeType ContainingType) { TrackingMDNodeRef N(*this); N->replaceOperandWith(5, ContainingType.getRef()); DbgNode = N; }
void DICompositeType::setContainingType(DICompositeType ContainingType) { TypedTrackingMDRef<MDCompositeTypeBase> N(getRaw()); N->replaceVTableHolder(ContainingType.getRef()); DbgNode = N; }