reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
34 Lex.reset(new Lexer(ID, SourceMgr.getBuffer(ID), SourceMgr, 36 Lex->SetKeepWhitespaceMode(true); 382 const char *Offset = Lex->getBufferLocation(); 384 StringRef Buffer = Lex->getBuffer(); 415 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); 440 const char *Offset = Lex->getBufferLocation(); 442 for (; Offset != Lex->getBuffer().end(); ++Offset) { 449 } else if (Offset + 1 < Lex->getBuffer().end() && Offset[0] == '$' && 479 SourceLocation loc = Offset < Lex->getBuffer().end() 480 ? Lex->getSourceLocation(Offset + 1) 491 Lex->getBufferLocation() - HashToken->TokenText.size(); // at "#" 492 size_t From = CommentBegin - Lex->getBuffer().begin(); 493 size_t To = Lex->getBuffer().find_first_of('\n', From); 495 To = Lex->getBuffer().size(); 499 HashToken->TokenText = Lex->getBuffer().substr(From, Len); 500 SourceLocation Loc = To < Lex->getBuffer().size() 501 ? Lex->getSourceLocation(CommentBegin + Len) 713 const char *Offset = Lex->getBufferLocation(); 716 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); 830 Lex->LexFromRawLexer(Tok.Tok); 867 Lex.reset(new Lexer(SourceMgr.getLocForStartOfFile(ID), 870 Lex->SetKeepWhitespaceMode(true);