reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
32 TrackingMDRef(TrackingMDRef &&X) : MD(X.MD) { retrack(X); } 33 TrackingMDRef(const TrackingMDRef &X) : MD(X.MD) { track(); } 40 MD = X.MD; 40 MD = X.MD; 50 MD = X.MD; 50 MD = X.MD; 57 Metadata *get() const { return MD; } 64 MD = nullptr; 68 this->MD = MD; 76 return !MD || !MetadataTracking::isReplaceable(*MD); 76 return !MD || !MetadataTracking::isReplaceable(*MD); 79 bool operator==(const TrackingMDRef &X) const { return MD == X.MD; } 79 bool operator==(const TrackingMDRef &X) const { return MD == X.MD; } 80 bool operator!=(const TrackingMDRef &X) const { return MD != X.MD; } 80 bool operator!=(const TrackingMDRef &X) const { return MD != X.MD; } 84 if (MD) 85 MetadataTracking::track(MD); 89 if (MD) 90 MetadataTracking::untrack(MD); 94 assert(MD == X.MD && "Expected values to match"); 94 assert(MD == X.MD && "Expected values to match"); 95 if (X.MD) { 96 MetadataTracking::retrack(X.MD, MD); 96 MetadataTracking::retrack(X.MD, MD); 97 X.MD = nullptr;