Searched refs:CopyOnWriteVector (Results 1 – 2 of 2) sorted by relevance
228 class CopyOnWriteVector {239 CopyOnWriteVector(const CopyOnWriteVector &V) = delete;240 void operator=(const CopyOnWriteVector &V) = delete;243 CopyOnWriteVector() : Data(nullptr) {} in CopyOnWriteVector() function244 CopyOnWriteVector(CopyOnWriteVector &&V) : Data(V.Data) { V.Data = nullptr; } in CopyOnWriteVector() function245 ~CopyOnWriteVector() { destroy(); } in ~CopyOnWriteVector()284 CopyOnWriteVector clone() { return CopyOnWriteVector(Data); } in clone()286 CopyOnWriteVector &operator=(CopyOnWriteVector &&V) {305 bool sameAs(const CopyOnWriteVector &V) const { return Data == V.Data; } in sameAs()333 CopyOnWriteVector(VectorData *D) : Data(D) { in CopyOnWriteVector() function
407 typedef CopyOnWriteVector<NameVarPair> LVarDefinitionMap;