Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp498 unsigned TokLen = Tok.getLength(); in SyntaxHighlightImpl() local
510 HighlightRangeCallback(RB, TokOffs, TokOffs + TokLen, BufferStart, in SyntaxHighlightImpl()
515 HighlightRangeCallback(RB, TokOffs, TokOffs + TokLen, BufferStart, in SyntaxHighlightImpl()
521 --TokLen; in SyntaxHighlightImpl()
529 --TokLen; in SyntaxHighlightImpl()
533 HighlightRangeCallback(RB, TokOffs, TokOffs + TokLen, BufferStart, in SyntaxHighlightImpl()
543 unsigned TokEnd = TokOffs+TokLen; in SyntaxHighlightImpl()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h193 unsigned TokLen, Preprocessor &PP);
299 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const;
643 unsigned TokLen = TokEnd-BufferPtr; in FormTokenWithChars() local
644 Result.setLength(TokLen); in FormTokenWithChars()
645 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp141 unsigned TokLen = 1; in getTokenForError() local
143 TokLen = 2; in getTokenForError()
144 Token = Expr.substr(0, TokLen); in getTokenForError()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCommentLexer.cpp271 const unsigned TokLen = TokEnd - BufferPtr; in formTokenWithChars() local
274 Result.setLength(TokLen); in formTokenWithChars()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp245 unsigned TokLen, Preprocessor &PP) { in Create_PragmaLexer() argument
259 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer()
266 ExpansionLocEnd, TokLen); in Create_PragmaLexer()
1184 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
1187 unsigned CharNo, unsigned TokLen) { in GetMappedTokenLoc() argument
1204 return SM.createExpansionLoc(SpellingLoc, II.getBegin(), II.getEnd(), TokLen); in GetMappedTokenLoc()
1210 unsigned TokLen) const { in getSourceLocation()
1223 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation()
H A DLiteralSupport.cpp2397 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte() local
2403 const char *SpellingEnd = SpellingPtr+TokLen; in getOffsetOfStringByte()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp283 unsigned TokLen = in getPreciseTokenLocEnd() local
285 return Loc.getLocWithOffset(TokLen); in getPreciseTokenLocEnd()