Home | History | Annotate | Download | only in libclang

Lines Matching full:lex

36 #include "clang/Lex/HeaderSearch.h"
37 #include "clang/Lex/Lexer.h"
38 #include "clang/Lex/PreprocessingRecord.h"
39 #include "clang/Lex/Preprocessor.h"
5680 Lexer Lex(SourceMgr.getLocForStartOfFile(BeginLocInfo.first),
5683 Lex.SetCommentRetentionState(true);
5685 // Lex tokens until we hit the end of the range.
5690 // Lex the next token
5691 Lex.LexFromRawLexer(Tok);
5730 } while (Lex.getBufferLocation() <= EffectiveBufferEnd);
6222 static bool lexNext(Lexer &Lex, Token &Tok,
6228 Lex.LexFromRawLexer(Tok);
6258 Lexer Lex(SourceMgr.getLocForStartOfFile(BeginLocInfo.first),
6262 Lex.SetCommentRetentionState(true);
6265 // Lex tokens in raw mode until we hit the end of the range, to avoid
6269 if (lexNext(Lex, Tok, NextIdx, NumTokens))
6284 if (lexNext(Lex, Tok, NextIdx, NumTokens))
6289 if (lexNext(Lex, Tok, NextIdx, NumTokens))
6303 if (lexNext(Lex, Tok, NextIdx, NumTokens)) {