Searched refs:addPCM (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/clang/unittests/Serialization/ |
D | InMemoryModuleCacheTest.cpp | 37 TEST(InMemoryModuleCacheTest, addPCM) { in TEST() argument 42 EXPECT_EQ(RawB, &Cache.addPCM("B", std::move(B))); in TEST() 49 EXPECT_DEATH(Cache.addPCM("B", getBuffer(2)), "Already has a PCM"); in TEST() 67 EXPECT_DEATH(Cache.addPCM("B", getBuffer(2)), "Already has a PCM"); in TEST() 82 EXPECT_EQ(RawB1, &Cache.addPCM("B", std::move(B1))); in TEST() 90 EXPECT_DEATH(Cache.addPCM("B", getBuffer(2)), "Already has a PCM"); in TEST() 111 EXPECT_EQ(RawB, &Cache.addPCM("B", std::move(B))); in TEST()
|
/external/llvm-project/clang/include/clang/Serialization/ |
D | InMemoryModuleCache.h | 67 llvm::MemoryBuffer &addPCM(llvm::StringRef Filename,
|
/external/llvm-project/clang/lib/Serialization/ |
D | InMemoryModuleCache.cpp | 25 InMemoryModuleCache::addPCM(llvm::StringRef Filename, in addPCM() function in InMemoryModuleCache
|
D | ModuleManager.cpp | 226 NewModule->Buffer = &getModuleCache().addPCM(FileName, std::move(*Buf)); in addModule()
|