Searched refs:ScratchBuffer (Results 1 - 9 of 9) sorted by relevance

/openbsd-current/gnu/llvm/clang/include/clang/Lex/
H A DScratchBuffer.h1 //===--- ScratchBuffer.h - Scratch space for forming tokens -----*- C++ -*-===//
9 // This file defines the ScratchBuffer interface.
21 /// ScratchBuffer - This class exposes a simple interface for the dynamic
24 class ScratchBuffer { class in namespace:clang
30 ScratchBuffer(SourceManager &SM);
H A DPreprocessor.h80 class ScratchBuffer;
140 std::unique_ptr<ScratchBuffer> ScratchBuf;
/openbsd-current/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DSimpleTypeSerializer.h20 std::vector<uint8_t> ScratchBuffer; member in class:llvm::codeview::SimpleTypeSerializer
/openbsd-current/gnu/llvm/clang/lib/Lex/
H A DScratchBuffer.cpp1 //===--- ScratchBuffer.cpp - Scratch space for forming tokens -------------===//
9 // This file implements the ScratchBuffer interface.
13 #include "clang/Lex/ScratchBuffer.h"
23 ScratchBuffer::ScratchBuffer(SourceManager &SM) function in class:ScratchBuffer
33 SourceLocation ScratchBuffer::getToken(const char *Buf, unsigned Len,
67 void ScratchBuffer::AllocScratchBuffer(unsigned RequestLen) {
H A DPreprocessor.cpp51 #include "clang/Lex/ScratchBuffer.h"
87 ScratchBuf(new ScratchBuffer(SourceMgr)), HeaderInfo(Headers),
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DSimpleTypeSerializer.cpp31 SimpleTypeSerializer::SimpleTypeSerializer() : ScratchBuffer(MaxRecordLength) {}
37 BinaryStreamWriter Writer(ScratchBuffer, support::little);
44 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(ScratchBuffer.data());
57 return {ScratchBuffer.data(), static_cast<size_t>(Writer.getOffset())};
/openbsd-current/gnu/llvm/clang/include/clang/Rewrite/Core/
H A DTokenRewriter.h27 class ScratchBuffer;
45 std::unique_ptr<ScratchBuffer> ScratchBuf;
/openbsd-current/gnu/usr.bin/clang/libclangLex/
H A DMakefile31 ScratchBuffer.cpp \
/openbsd-current/gnu/llvm/clang/lib/Rewrite/
H A DTokenRewriter.cpp17 #include "clang/Lex/ScratchBuffer.h"
28 ScratchBuf.reset(new ScratchBuffer(SM));

Completed in 338 milliseconds