Searched refs:SpellingPtr (Results 1 – 1 of 1) sorted by relevance
1049 const char *SpellingPtr = &SpellingBuffer[0]; in getOffsetOfStringByte() local1050 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte()1055 assert(SpellingPtr[0] != 'L' && "Doesn't handle wide strings yet"); in getOffsetOfStringByte()1058 const char *SpellingStart = SpellingPtr; in getOffsetOfStringByte()1059 const char *SpellingEnd = SpellingPtr+TokLen; in getOffsetOfStringByte()1062 assert(SpellingPtr[0] == '"' && "Should be a string literal!"); in getOffsetOfStringByte()1063 ++SpellingPtr; in getOffsetOfStringByte()1067 assert(SpellingPtr < SpellingEnd && "Didn't find byte offset!"); in getOffsetOfStringByte()1070 if (*SpellingPtr != '\\') { in getOffsetOfStringByte()1071 ++SpellingPtr; in getOffsetOfStringByte()[all …]