Searched refs:MainBuf (Results 1 – 3 of 3) sorted by relevance
191 std::unique_ptr<llvm::MemoryBuffer> MainBuf = in TEST_F() local193 FileID mainFileID = SourceMgr.createFileID(std::move(MainBuf)); in TEST_F()292 std::unique_ptr<llvm::MemoryBuffer> MainBuf = in TEST_F() local294 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(MainBuf))); in TEST_F()
633 const llvm::MemoryBuffer *MainBuf = SM->getBuffer(MainFileID); in InitializeCommon() local634 MainFileStart = MainBuf->getBufferStart(); in InitializeCommon()635 MainFileEnd = MainBuf->getBufferEnd(); in InitializeCommon()732 StringRef MainBuf = SM->getBufferData(MainFileID); in RewriteInclude() local733 const char *MainBufStart = MainBuf.begin(); in RewriteInclude()734 const char *MainBufEnd = MainBuf.end(); in RewriteInclude()
701 const llvm::MemoryBuffer *MainBuf = SM->getBuffer(MainFileID); in InitializeCommon() local702 MainFileStart = MainBuf->getBufferStart(); in InitializeCommon()703 MainFileEnd = MainBuf->getBufferEnd(); in InitializeCommon()803 StringRef MainBuf = SM->getBufferData(MainFileID); in RewriteInclude() local804 const char *MainBufStart = MainBuf.begin(); in RewriteInclude()805 const char *MainBufEnd = MainBuf.end(); in RewriteInclude()