Home
last modified time | relevance | path

Searched refs:addPCM (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang/unittests/Serialization/
DInMemoryModuleCacheTest.cpp37 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/
DInMemoryModuleCache.h67 llvm::MemoryBuffer &addPCM(llvm::StringRef Filename,
/external/llvm-project/clang/lib/Serialization/
DInMemoryModuleCache.cpp25 InMemoryModuleCache::addPCM(llvm::StringRef Filename, in addPCM() function in InMemoryModuleCache
DModuleManager.cpp226 NewModule->Buffer = &getModuleCache().addPCM(FileName, std::move(*Buf)); in addModule()