Searched refs:LookAhead (Results 1 - 6 of 6) sorted by relevance

/freebsd-10-stable/contrib/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp219 const char *LookAhead = CurPtr; local
221 if (isdigit(*LookAhead)) {
222 ++LookAhead;
223 } else if (isxdigit(*LookAhead)) {
225 FirstHex = LookAhead;
226 ++LookAhead;
231 bool isHex = *LookAhead == 'h' || *LookAhead == 'H';
232 CurPtr = isHex || !FirstHex ? LookAhead : FirstHex;
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Parse/
H A DParseInit.cpp42 switch (PP.LookAhead(0).getKind()) {
65 return PP.LookAhead(0).is(tok::colon);
H A DParseExprCXX.cpp412 PP.LookAhead(1).is(tok::identifier)) {
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Parse/
H A DParser.h459 /// without consuming any tokens. LookAhead(0) returns 'Tok', LookAhead(1)
462 /// Note that this differs from the Preprocessor's LookAhead method, because
467 return PP.LookAhead(N-1);
474 return PP.LookAhead(0);
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessor.h782 /// LookAhead - This peeks ahead N tokens and returns that token without
783 /// consuming any tokens. LookAhead(0) returns the next token that would be
784 /// returned by Lex(), LookAhead(1) returns the token after it, etc. This
787 const Token &LookAhead(unsigned N) { function in class:clang::Preprocessor
/freebsd-10-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGRRList.cpp885 unsigned LookAhead = std::min((unsigned)Sequence.size(), local
887 if (LookAhead == 0)
890 std::vector<SUnit*>::const_iterator I = (Sequence.end() - LookAhead);

Completed in 158 milliseconds