Home
last modified time | relevance | path

Searched refs:MovedFrom (Results 1 – 2 of 2) sorted by relevance

/external/llvm/unittests/ADT/
DSmallVectorTest.cpp749 struct MovedFrom { struct
751 MovedFrom() : hasValue(true) { in MovedFrom() argument
753 MovedFrom(MovedFrom&& m) : hasValue(m.hasValue) { in MovedFrom() function
756 MovedFrom &operator=(MovedFrom&& m) { in operator =() argument
764 SmallVector<MovedFrom, 3> v; in TEST()
765 v.push_back(MovedFrom()); in TEST()
766 v.insert(v.begin(), MovedFrom()); in TEST()
767 for (MovedFrom &m : v) in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DSmallVectorTest.cpp820 struct MovedFrom { struct
822 MovedFrom() : hasValue(true) { in MovedFrom() argument
824 MovedFrom(MovedFrom&& m) : hasValue(m.hasValue) { in MovedFrom() argument
827 MovedFrom &operator=(MovedFrom&& m) { in operator =() argument
835 SmallVector<MovedFrom, 3> v; in TEST()
836 v.push_back(MovedFrom()); in TEST()
837 v.insert(v.begin(), MovedFrom()); in TEST()
838 for (MovedFrom &m : v) in TEST()