Lines Matching refs:TokStart
331 const char *TokStart = SourceMgr.getCharacterData(Tok.getLocation(), in getSpelling() local
340 return std::string(TokStart, TokStart + Tok.getLength()); in getSpelling()
344 Result.resize(getSpellingSlow(Tok, TokStart, LangOpts, &*Result.begin())); in getSpelling()
363 const char *TokStart = nullptr; in getSpelling() local
366 TokStart = Tok.getRawIdentifier().data(); in getSpelling()
377 TokStart = Tok.getLiteralData(); in getSpelling()
379 if (!TokStart) { in getSpelling()
382 TokStart = SourceMgr.getCharacterData(Tok.getLocation(), &CharDataInvalid); in getSpelling()
393 Buffer = TokStart; in getSpelling()
398 return getSpellingSlow(Tok, TokStart, LangOpts, const_cast<char*>(Buffer)); in getSpelling()
700 SourceLocation Lexer::AdvanceToTokenCharacter(SourceLocation TokStart, in AdvanceToTokenCharacter() argument
708 const char *TokPtr = SM.getCharacterData(TokStart, &Invalid); in AdvanceToTokenCharacter()
712 return TokStart; in AdvanceToTokenCharacter()
721 return TokStart.getLocWithOffset(PhysOffset); in AdvanceToTokenCharacter()
743 return TokStart.getLocWithOffset(PhysOffset); in AdvanceToTokenCharacter()
1645 const char *TokStart = BufferPtr; in LexNumericConstant() local
1647 Result.setLiteralData(TokStart); in LexNumericConstant()
1794 const char *TokStart = BufferPtr; in LexStringLiteral() local
1796 Result.setLiteralData(TokStart); in LexStringLiteral()
1874 const char *TokStart = BufferPtr; in LexRawStringLiteral() local
1876 Result.setLiteralData(TokStart); in LexRawStringLiteral()
1910 const char *TokStart = BufferPtr; in LexAngledStringLiteral() local
1912 Result.setLiteralData(TokStart); in LexAngledStringLiteral()
1976 const char *TokStart = BufferPtr; in LexCharConstant() local
1978 Result.setLiteralData(TokStart); in LexCharConstant()