Home
last modified time | relevance | path

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

/external/clang/lib/Tooling/Core/
DReplacement.cpp123 SourceLocation SpellingEnd = Sources.getSpellingLoc(Range.getEnd()); in getRangeSize() local
125 std::pair<FileID, unsigned> End = Sources.getDecomposedLoc(SpellingEnd); in getRangeSize()
128 End.second += Lexer::MeasureTokenLength(SpellingEnd, Sources, LangOpts); in getRangeSize()
/external/clang/lib/Lex/
DLiteralSupport.cpp1639 const char *SpellingEnd = SpellingPtr+TokLen; in getOffsetOfStringByte() local
1655 assert(SpellingPtr < SpellingEnd && "Missing ( for raw string literal"); in getOffsetOfStringByte()
1668 assert(SpellingPtr < SpellingEnd && "Didn't find byte offset!"); in getOffsetOfStringByte()
1681 unsigned Len = MeasureUCNEscape(SpellingStart, SpellingPtr, SpellingEnd, in getOffsetOfStringByte()
1690 ProcessCharEscape(SpellingStart, SpellingPtr, SpellingEnd, HadError, in getOffsetOfStringByte()
/external/llvm-project/clang/lib/Tooling/Core/
DReplacement.cpp138 SourceLocation SpellingEnd = Sources.getSpellingLoc(Range.getEnd()); in getRangeSize() local
140 std::pair<FileID, unsigned> End = Sources.getDecomposedLoc(SpellingEnd); in getRangeSize()
143 End.second += Lexer::MeasureTokenLength(SpellingEnd, Sources, LangOpts); in getRangeSize()
/external/llvm-project/clang/lib/Lex/
DLiteralSupport.cpp1848 const char *SpellingEnd = SpellingPtr+TokLen; in getOffsetOfStringByte() local
1864 assert(SpellingPtr < SpellingEnd && "Missing ( for raw string literal"); in getOffsetOfStringByte()
1877 assert(SpellingPtr < SpellingEnd && "Didn't find byte offset!"); in getOffsetOfStringByte()
1890 unsigned Len = MeasureUCNEscape(SpellingStart, SpellingPtr, SpellingEnd, in getOffsetOfStringByte()
1899 ProcessCharEscape(SpellingStart, SpellingPtr, SpellingEnd, HadError, in getOffsetOfStringByte()