Searched refs:CountCopyAndMove (Results 1 – 3 of 3) sorted by relevance
118 struct CountCopyAndMove { struct122 CountCopyAndMove(int Value) : Value(Value) {} in CountCopyAndMove() function124 CountCopyAndMove(const CountCopyAndMove &RHS) { in CountCopyAndMove() argument128 CountCopyAndMove &operator=(const CountCopyAndMove &RHS) { in operator =() argument133 CountCopyAndMove(CountCopyAndMove &&RHS) { in CountCopyAndMove() argument137 CountCopyAndMove &operator=(const CountCopyAndMove &&RHS) { in operator =() argument143 int CountCopyAndMove::Copy = 0;144 int CountCopyAndMove::Move = 0;149 template <> struct DenseMapInfo<CountCopyAndMove> {150 static inline CountCopyAndMove getEmptyKey() { return CountCopyAndMove(-1); }; in getEmptyKey()[all …]
344 struct CountCopyAndMove { struct347 CountCopyAndMove() {} in CountCopyAndMove() function349 CountCopyAndMove(const CountCopyAndMove &) { Copy++; } in CountCopyAndMove() argument350 CountCopyAndMove &operator=(const CountCopyAndMove &) { in operator =() argument354 CountCopyAndMove(CountCopyAndMove &&) { Move++; } in CountCopyAndMove() argument355 CountCopyAndMove &operator=(const CountCopyAndMove &&) { in operator =() argument360 int CountCopyAndMove::Copy = 0;361 int CountCopyAndMove::Move = 0;373 DenseMap<int, CountCopyAndMove> Map; in TEST()377 CountCopyAndMove::Copy = 0; in TEST()[all …]
344 struct CountCopyAndMove { struct347 CountCopyAndMove() {} in CountCopyAndMove() argument349 CountCopyAndMove(const CountCopyAndMove &) { Copy++; } in CountCopyAndMove() function350 CountCopyAndMove &operator=(const CountCopyAndMove &) { in operator =() argument354 CountCopyAndMove(CountCopyAndMove &&) { Move++; } in CountCopyAndMove() argument355 CountCopyAndMove &operator=(const CountCopyAndMove &&) { in operator =() argument360 int CountCopyAndMove::Copy = 0;361 int CountCopyAndMove::Move = 0;373 DenseMap<int, CountCopyAndMove> Map; in TEST()377 CountCopyAndMove::Copy = 0; in TEST()[all …]