Lines Matching refs:getBuffer
524 StringRef Buffer = Lex->getBuffer(); in tryParseJSRegexLiteral()
579 for (; Offset != Lex->getBuffer().end(); ++Offset) { in handleCSharpVerbatimAndInterpolatedStrings()
582 if (Offset + 1 < Lex->getBuffer().end() && Offset[1] == '"') in handleCSharpVerbatimAndInterpolatedStrings()
591 if (Offset == Lex->getBuffer().end()) in handleCSharpVerbatimAndInterpolatedStrings()
614 SourceLocation loc = Offset < Lex->getBuffer().end() in handleCSharpVerbatimAndInterpolatedStrings()
644 for (; Offset != Lex->getBuffer().end(); ++Offset) { in handleTemplateStrings()
651 } else if (Offset + 1 < Lex->getBuffer().end() && Offset[0] == '$' && in handleTemplateStrings()
681 SourceLocation loc = Offset < Lex->getBuffer().end() in handleTemplateStrings()
694 size_t From = CommentBegin - Lex->getBuffer().begin(); in tryParsePythonComment()
695 size_t To = Lex->getBuffer().find_first_of('\n', From); in tryParsePythonComment()
697 To = Lex->getBuffer().size(); in tryParsePythonComment()
701 HashToken->TokenText = Lex->getBuffer().substr(From, Len); in tryParsePythonComment()
702 SourceLocation Loc = To < Lex->getBuffer().size() in tryParsePythonComment()
763 StringRef Buffer = SourceMgr.getBufferOrFake(ID).getBuffer(); in tryMergeConflictMarkers()