Lines Matching defs:TokStart
331 const char *TokStart = SourceMgr.getCharacterData(Tok.getLocation(),
340 return std::string(TokStart, TokStart + Tok.getLength());
344 Result.resize(getSpellingSlow(Tok, TokStart, LangOpts, &*Result.begin()));
363 const char *TokStart = nullptr;
366 TokStart = Tok.getRawIdentifier().data();
377 TokStart = Tok.getLiteralData();
379 if (!TokStart) {
382 TokStart = SourceMgr.getCharacterData(Tok.getLocation(), &CharDataInvalid);
393 Buffer = TokStart;
398 return getSpellingSlow(Tok, TokStart, LangOpts, const_cast<char*>(Buffer));
700 SourceLocation Lexer::AdvanceToTokenCharacter(SourceLocation TokStart,
708 const char *TokPtr = SM.getCharacterData(TokStart, &Invalid);
712 return TokStart;
721 return TokStart.getLocWithOffset(PhysOffset);
741 return TokStart.getLocWithOffset(PhysOffset);
1617 const char *TokStart = BufferPtr;
1619 Result.setLiteralData(TokStart);
1766 const char *TokStart = BufferPtr;
1768 Result.setLiteralData(TokStart);
1846 const char *TokStart = BufferPtr;
1848 Result.setLiteralData(TokStart);
1882 const char *TokStart = BufferPtr;
1884 Result.setLiteralData(TokStart);
1948 const char *TokStart = BufferPtr;
1950 Result.setLiteralData(TokStart);