Lines Matching defs:TokStart
345 const char *TokStart = SourceMgr.getCharacterData(Tok.getLocation(),
354 return std::string(TokStart, TokStart + Tok.getLength());
358 Result.resize(getSpellingSlow(Tok, TokStart, LangOpts, &*Result.begin()));
377 const char *TokStart = 0;
380 TokStart = Tok.getRawIdentifierData();
391 TokStart = Tok.getLiteralData();
393 if (TokStart == 0) {
396 TokStart = SourceMgr.getCharacterData(Tok.getLocation(), &CharDataInvalid);
407 Buffer = TokStart;
412 return getSpellingSlow(Tok, TokStart, LangOpts, const_cast<char*>(Buffer));
701 SourceLocation Lexer::AdvanceToTokenCharacter(SourceLocation TokStart,
709 const char *TokPtr = SM.getCharacterData(TokStart, &Invalid);
713 return TokStart;
722 return TokStart.getLocWithOffset(PhysOffset);
742 return TokStart.getLocWithOffset(PhysOffset);
1578 const char *TokStart = BufferPtr;
1580 Result.setLiteralData(TokStart);
1673 const char *TokStart = BufferPtr;
1675 Result.setLiteralData(TokStart);
1752 const char *TokStart = BufferPtr;
1754 Result.setLiteralData(TokStart);
1786 const char *TokStart = BufferPtr;
1788 Result.setLiteralData(TokStart);
1846 const char *TokStart = BufferPtr;
1848 Result.setLiteralData(TokStart);