reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Serialization/InMemoryModuleCache.h
   67   llvm::MemoryBuffer &addPCM(llvm::StringRef Filename,

References

tools/clang/lib/Serialization/ModuleManager.cpp
  196     NewModule->Buffer = &getModuleCache().addPCM(FileName, std::move(*Buf));
tools/clang/unittests/Serialization/InMemoryModuleCacheTest.cpp
   42   EXPECT_EQ(RawB, &Cache.addPCM("B", std::move(B)));
   49   EXPECT_DEATH(Cache.addPCM("B", getBuffer(2)), "Already has a PCM");
   67   EXPECT_DEATH(Cache.addPCM("B", getBuffer(2)), "Already has a PCM");
   82   EXPECT_EQ(RawB1, &Cache.addPCM("B", std::move(B1)));
   90   EXPECT_DEATH(Cache.addPCM("B", getBuffer(2)), "Already has a PCM");
  111   EXPECT_EQ(RawB, &Cache.addPCM("B", std::move(B)));