Searched refs:replaceBuffer (Results 1 – 2 of 2) sorted by relevance
71 void ContentCache::replaceBuffer(llvm::MemoryBuffer *B, bool DoNotFree) { in replaceBuffer() function in ContentCache509 FakeContentCacheForRecovery->replaceBuffer(getFakeBufferForRecovery(), in getFakeContentCacheForRecovery()647 const_cast<SrcMgr::ContentCache *>(IR)->replaceBuffer(Buffer, DoNotFree); in overrideFileContents()669 const_cast<SrcMgr::ContentCache *>(IR)->replaceBuffer(nullptr); in disableFileContentsOverride()
212 void replaceBuffer(llvm::MemoryBuffer *B, bool DoNotFree = false);