Home
last modified time | relevance | path

Searched refs:MainBuf (Results 1 – 6 of 6) 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/llvm-project/clang/unittests/Basic/
DSourceManagerTest.cpp285 std::unique_ptr<llvm::MemoryBuffer> MainBuf = in TEST_F() local
287 FileID mainFileID = SourceMgr.createFileID(std::move(MainBuf)); in TEST_F()
410 std::unique_ptr<llvm::MemoryBuffer> MainBuf = in TEST_F() local
412 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()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp634 llvm::MemoryBufferRef MainBuf = SM->getBufferOrFake(MainFileID); in InitializeCommon() local
635 MainFileStart = MainBuf.getBufferStart(); in InitializeCommon()
636 MainFileEnd = MainBuf.getBufferEnd(); in InitializeCommon()
733 StringRef MainBuf = SM->getBufferData(MainFileID); in RewriteInclude() local
734 const char *MainBufStart = MainBuf.begin(); in RewriteInclude()
735 const char *MainBufEnd = MainBuf.end(); in RewriteInclude()
DRewriteModernObjC.cpp705 llvm::MemoryBufferRef MainBuf = SM->getBufferOrFake(MainFileID); in InitializeCommon() local
706 MainFileStart = MainBuf.getBufferStart(); in InitializeCommon()
707 MainFileEnd = MainBuf.getBufferEnd(); in InitializeCommon()
807 StringRef MainBuf = SM->getBufferData(MainFileID); in RewriteInclude() local
808 const char *MainBufStart = MainBuf.begin(); in RewriteInclude()
809 const char *MainBufEnd = MainBuf.end(); in RewriteInclude()