Searched refs:BufferPtr (Results 1 – 9 of 9) sorted by relevance
86 if (BufferPtr == CommentEnd) in skipLineStartingDecorations()89 switch (*BufferPtr) { in skipLineStartingDecorations()94 const char *NewBufferPtr = BufferPtr; in skipLineStartingDecorations()107 BufferPtr = NewBufferPtr + 1; in skipLineStartingDecorations()111 BufferPtr++; in skipLineStartingDecorations()118 const char *findNewline(const char *BufferPtr, const char *BufferEnd) { in findNewline() argument119 for ( ; BufferPtr != BufferEnd; ++BufferPtr) { in findNewline()120 if (isVerticalWhitespace(*BufferPtr)) in findNewline()121 return BufferPtr; in findNewline()126 const char *skipNewline(const char *BufferPtr, const char *BufferEnd) { in skipNewline() argument[all …]
46 const char *BufferPtr; member64 Pos.BufferPtr = Pos.BufferStart; in setupBuffer()69 const unsigned CharNo = Pos.BufferPtr - Pos.BufferStart; in getSourceLocation()75 assert(Pos.BufferPtr != Pos.BufferEnd); in peek()76 return *Pos.BufferPtr; in peek()81 assert(Pos.BufferPtr != Pos.BufferEnd); in consumeChar()82 Pos.BufferPtr++; in consumeChar()83 if (Pos.BufferPtr == Pos.BufferEnd) { in consumeChar()162 const char *WordBegin = Pos.BufferPtr; in lexWord()195 const char *WordBegin = Pos.BufferPtr; in lexDelimitedSeq()[all …]
58 BufferPtr = BufPtr; in InitLexer()68 if (BufferStart == BufferPtr) { in InitLexer()76 BufferPtr += BOMLength; in InitLexer()180 L->BufferPtr = StrData; in Create_PragmaLexer()1346 BufferPtr += Bytes; in SkipBytes()1347 if (BufferPtr > BufferEnd) in SkipBytes()1348 BufferPtr = BufferEnd; in SkipBytes()1488 const char *IdStart = BufferPtr; in LexIdentifier()1573 if (!LangOpts.MicrosoftExt || !isHexaLiteral(BufferPtr, LangOpts)) in LexNumericConstant()1584 if (!isHexaLiteral(BufferPtr, LangOpts)) in LexNumericConstant()[all …]
399 CurLexer->BufferPtr = EndPos; in HandleEndOfFile()427 CurLexer->BufferPtr = EndPos; in HandleEndOfFile()
77 const char *BufferPtr; variable159 return BufferPtr == BufferEnd; in LexFromRawLexer()222 return getSourceLocation(BufferPtr); in getSourceLocation()226 const char *getBufferLocation() const { return BufferPtr; } in getBufferLocation()484 unsigned TokLen = TokEnd-BufferPtr; in FormTokenWithChars()486 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()488 BufferPtr = TokEnd; in FormTokenWithChars()622 void cutOffLexing() { BufferPtr = BufferEnd; } in cutOffLexing()
138 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferPtr = in parseMCMarkup() local140 if (std::error_code EC = BufferPtr.getError()) { in parseMCMarkup()144 std::unique_ptr<MemoryBuffer> &Buffer = BufferPtr.get(); in parseMCMarkup()
239 const char *BufferPtr; variable299 StringRef Text(BufferPtr, TokEnd - BufferPtr); in formTextToken()
370 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferPtr = in main() local372 if (std::error_code EC = BufferPtr.getError()) { in main()376 MemoryBuffer *Buffer = BufferPtr->get(); in main()381 SrcMgr.AddNewSourceBuffer(std::move(*BufferPtr), SMLoc()); in main()
751 * The ``Lexer`` uses ``BufferPtr`` to keep track of the current character being