Home
last modified time | relevance | path

Searched refs:MainBuf (Results 1 – 3 of 3) sorted by relevance

/external/clang/unittests/Basic/
DSourceManagerTest.cpp191 std::unique_ptr<llvm::MemoryBuffer> MainBuf = in TEST_F() local
193 FileID mainFileID = SourceMgr.createFileID(std::move(MainBuf)); in TEST_F()
292 std::unique_ptr<llvm::MemoryBuffer> MainBuf = in TEST_F() local
294 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(MainBuf))); in TEST_F()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp633 const llvm::MemoryBuffer *MainBuf = SM->getBuffer(MainFileID); in InitializeCommon() local
634 MainFileStart = MainBuf->getBufferStart(); in InitializeCommon()
635 MainFileEnd = MainBuf->getBufferEnd(); in InitializeCommon()
732 StringRef MainBuf = SM->getBufferData(MainFileID); in RewriteInclude() local
733 const char *MainBufStart = MainBuf.begin(); in RewriteInclude()
734 const char *MainBufEnd = MainBuf.end(); in RewriteInclude()
DRewriteModernObjC.cpp701 const llvm::MemoryBuffer *MainBuf = SM->getBuffer(MainFileID); in InitializeCommon() local
702 MainFileStart = MainBuf->getBufferStart(); in InitializeCommon()
703 MainFileEnd = MainBuf->getBufferEnd(); in InitializeCommon()
803 StringRef MainBuf = SM->getBufferData(MainFileID); in RewriteInclude() local
804 const char *MainBufStart = MainBuf.begin(); in RewriteInclude()
805 const char *MainBufEnd = MainBuf.end(); in RewriteInclude()