Lines Matching refs:MockObjectFile
26 typedef int MockObjectFile; typedef
34 std::unique_ptr<MockObjectFile>
35 operator()(std::unique_ptr<MockObjectFile> Obj) const { in operator ()()
36 return llvm::make_unique<MockObjectFile>(*Obj + 1); in operator ()()
165 std::vector<MockObjectFile> MockObjects;
200 std::function<MockObjectFile *(MockObjectFile *)>> in TEST()
201 T2(M, [](MockObjectFile *Obj) { in TEST()
207 MockObjectFile MockObject1 = 211; in TEST()
208 MockObjectFile MockObject2 = 222; in TEST()
213 std::vector<std::unique_ptr<MockObjectFile>> Objs1; in TEST()
214 Objs1.push_back(llvm::make_unique<MockObjectFile>(MockObject1)); in TEST()
215 Objs1.push_back(llvm::make_unique<MockObjectFile>(MockObject2)); in TEST()
223 llvm::SmallVector<MockObjectFile *, 2> Objs2; in TEST()
264 MockObjectFile Mutatee = 277; in TEST()
265 MockObjectFile *Out = T2.getTransform()(&Mutatee); in TEST()
270 auto OwnedObj = llvm::make_unique<MockObjectFile>(288); in TEST()