Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/AST/
H A DCommentLexer.h299 void formTokenWithChars(Token &Result, const char *TokEnd,
302 void formTextToken(Token &Result, const char *TokEnd) { in formTextToken() argument
303 StringRef Text(BufferPtr, TokEnd - BufferPtr); in formTextToken()
304 formTokenWithChars(Result, TokEnd, tok::text); in formTextToken()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DLexer.h619 void FormTokenWithChars(Token &Result, const char *TokEnd, in FormTokenWithChars() argument
621 unsigned TokLen = TokEnd-BufferPtr; in FormTokenWithChars()
625 BufferPtr = TokEnd; in FormTokenWithChars()
/llvm-project-15.0.7/clang/lib/Rewrite/
H A DHTMLRewrite.cpp511 unsigned TokEnd = TokOffs+TokLen; in SyntaxHighlight() local
514 TokEnd = SM.getFileOffset(Tok.getLocation())+Tok.getLength(); in SyntaxHighlight()
519 HighlightRange(RB, TokOffs, TokEnd, BufferStart, in SyntaxHighlight()
/llvm-project-15.0.7/clang/lib/AST/
H A DCommentLexer.cpp260 void Lexer::formTokenWithChars(Token &Result, const char *TokEnd, in formTokenWithChars() argument
262 const unsigned TokLen = TokEnd - BufferPtr; in formTokenWithChars()
270 BufferPtr = TokEnd; in formTokenWithChars()