Searched refs:ScratchBuffer (Results 1 – 9 of 9) sorted by relevance
23 ScratchBuffer::ScratchBuffer(SourceManager &SM) in ScratchBuffer() function in ScratchBuffer33 SourceLocation ScratchBuffer::getToken(const char *Buf, unsigned Len, in getToken()67 void ScratchBuffer::AllocScratchBuffer(unsigned RequestLen) { in AllocScratchBuffer()
91 ScratchBuf(new ScratchBuffer(SourceMgr)), HeaderInfo(Headers), in Preprocessor()
31 SimpleTypeSerializer::SimpleTypeSerializer() : ScratchBuffer(MaxRecordLength) {} in SimpleTypeSerializer() 37 BinaryStreamWriter Writer(ScratchBuffer, llvm::endianness::little); in serialize() 44 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(ScratchBuffer.data()); in serialize() 57 return {ScratchBuffer.data(), static_cast<size_t>(Writer.getOffset())}; in serialize()
24 class ScratchBuffer {30 ScratchBuffer(SourceManager &SM);
82 class ScratchBuffer; variable149 std::unique_ptr<ScratchBuffer> ScratchBuf;
27 class ScratchBuffer; variable45 std::unique_ptr<ScratchBuffer> ScratchBuf;
20 std::vector<uint8_t> ScratchBuffer; variable
28 ScratchBuf.reset(new ScratchBuffer(SM)); in TokenRewriter()
516 SRCS_MIN+= Lex/ScratchBuffer.cpp