Searched refs:CopyOnWriteVector (Results 1 – 2 of 2) sorted by relevance
235 class CopyOnWriteVector {246 CopyOnWriteVector(const CopyOnWriteVector &V) = delete;247 void operator=(const CopyOnWriteVector &V) = delete;250 CopyOnWriteVector() : Data(nullptr) {} in CopyOnWriteVector() function251 CopyOnWriteVector(CopyOnWriteVector &&V) : Data(V.Data) { V.Data = nullptr; } in CopyOnWriteVector() function252 ~CopyOnWriteVector() { destroy(); } in ~CopyOnWriteVector()291 CopyOnWriteVector clone() { return CopyOnWriteVector(Data); } in clone()293 CopyOnWriteVector &operator=(CopyOnWriteVector &&V) {312 bool sameAs(const CopyOnWriteVector &V) const { return Data == V.Data; } in sameAs()340 CopyOnWriteVector(VectorData *D) : Data(D) { in CopyOnWriteVector() function
407 typedef CopyOnWriteVector<NameVarPair> LVarDefinitionMap;