Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DLiteralSupport.cpp1609 const char *SpellingPtr = &SpellingBuffer[0]; in getOffsetOfStringByte() local
1610 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte()
1615 const char *SpellingStart = SpellingPtr; in getOffsetOfStringByte()
1616 const char *SpellingEnd = SpellingPtr+TokLen; in getOffsetOfStringByte()
1619 if (SpellingPtr[0] == 'u' && SpellingPtr[1] == '8') in getOffsetOfStringByte()
1620 SpellingPtr += 2; in getOffsetOfStringByte()
1622 assert(SpellingPtr[0] != 'L' && SpellingPtr[0] != 'u' && in getOffsetOfStringByte()
1623 SpellingPtr[0] != 'U' && "Doesn't handle wide or utf strings yet"); in getOffsetOfStringByte()
1626 if (SpellingPtr[0] == 'R') { in getOffsetOfStringByte()
1627 assert(SpellingPtr[1] == '"' && "Should be a raw string literal!"); in getOffsetOfStringByte()
[all …]