Searched refs:NewBuf (Results 1 – 4 of 4) sorted by relevance
54 OwningPtr<MemoryBuffer> NewBuf; in AddIncludeFile() local56 MemoryBuffer::getFile(IncludedFile.c_str(), NewBuf); in AddIncludeFile()59 for (unsigned i = 0, e = IncludeDirectories.size(); i != e && !NewBuf; ++i) { in AddIncludeFile()61 MemoryBuffer::getFile(IncludedFile.c_str(), NewBuf); in AddIncludeFile()64 if (NewBuf == 0) return ~0U; in AddIncludeFile()66 return AddNewSourceBuffer(NewBuf.take(), IncludeLoc); in AddIncludeFile()
422 char *NewBuf = const_cast<char*>(NewBuffer->getBufferStart()); in SetCodeCompletionPoint() local423 char *NewPos = std::copy(Buffer->getBufferStart(), Position, NewBuf); in SetCodeCompletionPoint()
631 unsigned NewBuf = in enterIncludeFile() local633 if (!NewBuf) in enterIncludeFile()636 CurBuffer = NewBuf; in enterIncludeFile()646 unsigned NewBuf = in processIncbinFile() local648 if (!NewBuf) in processIncbinFile()652 getStreamer().EmitBytes(SrcMgr.getMemoryBuffer(NewBuf)->getBuffer()); in processIncbinFile()
419 int NewBuf = SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); in EnterIncludeFile() local420 if (NewBuf == -1) in EnterIncludeFile()423 CurBuffer = NewBuf; in EnterIncludeFile()