Home
last modified time | relevance | path

Searched refs:SpellingPtr (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Lex/
DLiteralSupport.cpp1632 const char *SpellingPtr = &SpellingBuffer[0]; in getOffsetOfStringByte() local
1633 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte()
1638 const char *SpellingStart = SpellingPtr; in getOffsetOfStringByte()
1639 const char *SpellingEnd = SpellingPtr+TokLen; in getOffsetOfStringByte()
1642 if (SpellingPtr[0] == 'u' && SpellingPtr[1] == '8') in getOffsetOfStringByte()
1643 SpellingPtr += 2; in getOffsetOfStringByte()
1645 assert(SpellingPtr[0] != 'L' && SpellingPtr[0] != 'u' && in getOffsetOfStringByte()
1646 SpellingPtr[0] != 'U' && "Doesn't handle wide or utf strings yet"); in getOffsetOfStringByte()
1649 if (SpellingPtr[0] == 'R') { in getOffsetOfStringByte()
1650 assert(SpellingPtr[1] == '"' && "Should be a raw string literal!"); in getOffsetOfStringByte()
[all …]