• Home
  • Raw
  • Download

Lines Matching refs:TokStart

373   const char *TokStart = SourceMgr.getCharacterData(Tok.getLocation(),  in getSpelling()  local
382 return std::string(TokStart, TokStart + Tok.getLength()); in getSpelling()
386 Result.resize(getSpellingSlow(Tok, TokStart, LangOpts, &*Result.begin())); in getSpelling()
405 const char *TokStart = nullptr; in getSpelling() local
408 TokStart = Tok.getRawIdentifier().data(); in getSpelling()
419 TokStart = Tok.getLiteralData(); in getSpelling()
421 if (!TokStart) { in getSpelling()
424 TokStart = SourceMgr.getCharacterData(Tok.getLocation(), &CharDataInvalid); in getSpelling()
435 Buffer = TokStart; in getSpelling()
440 return getSpellingSlow(Tok, TokStart, LangOpts, const_cast<char*>(Buffer)); in getSpelling()
721 unsigned Lexer::getTokenPrefixLength(SourceLocation TokStart, unsigned CharNo, in getTokenPrefixLength() argument
728 const char *TokPtr = SM.getCharacterData(TokStart, &Invalid); in getTokenPrefixLength()
1810 const char *TokStart = BufferPtr; in LexNumericConstant() local
1812 Result.setLiteralData(TokStart); in LexNumericConstant()
1963 const char *TokStart = BufferPtr; in LexStringLiteral() local
1965 Result.setLiteralData(TokStart); in LexStringLiteral()
2043 const char *TokStart = BufferPtr; in LexRawStringLiteral() local
2045 Result.setLiteralData(TokStart); in LexRawStringLiteral()
2087 const char *TokStart = BufferPtr; in LexAngledStringLiteral() local
2089 Result.setLiteralData(TokStart); in LexAngledStringLiteral()
2185 const char *TokStart = BufferPtr; in LexCharConstant() local
2187 Result.setLiteralData(TokStart); in LexCharConstant()