Searched refs:TokLen (Results 1 – 7 of 7) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/Rewrite/ |
| H A D | HTMLRewrite.cpp | 466 unsigned TokLen = Tok.getLength(); in SyntaxHighlight() local 478 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 483 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 489 --TokLen; in SyntaxHighlight() 497 --TokLen; in SyntaxHighlight() 501 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 511 unsigned TokEnd = TokOffs+TokLen; in SyntaxHighlight()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | Lexer.h | 193 unsigned TokLen, Preprocessor &PP); 299 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const; 625 unsigned TokLen = TokEnd-BufferPtr; in FormTokenWithChars() local 626 Result.setLength(TokLen); in FormTokenWithChars() 627 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | CommentLexer.cpp | 262 const unsigned TokLen = TokEnd - BufferPtr; in formTokenWithChars() local 265 Result.setLength(TokLen); in formTokenWithChars()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldChecker.cpp | 144 unsigned TokLen = 1; in getTokenForError() local 146 TokLen = 2; in getTokenForError() 147 Token = Expr.substr(0, TokLen); in getTokenForError()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Lex/ |
| H A D | Lexer.cpp | 201 unsigned TokLen, Preprocessor &PP) { in Create_PragmaLexer() argument 215 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer() 222 ExpansionLocEnd, TokLen); in Create_PragmaLexer() 1143 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen); 1146 unsigned CharNo, unsigned TokLen) { in GetMappedTokenLoc() argument 1163 return SM.createExpansionLoc(SpellingLoc, II.getBegin(), II.getEnd(), TokLen); in GetMappedTokenLoc() 1169 unsigned TokLen) const { in getSourceLocation() 1182 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation()
|
| H A D | LiteralSupport.cpp | 2319 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte() local 2325 const char *SpellingEnd = SpellingPtr+TokLen; in getOffsetOfStringByte()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.cpp | 261 unsigned TokLen = in getPreciseTokenLocEnd() local 263 return Loc.getLocWithOffset(TokLen); in getPreciseTokenLocEnd()
|