Home
last modified time | relevance | path

Searched refs:LookAhead (Results 1 – 9 of 9) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp267 const char *LookAhead = CurPtr; in doHexLookAhead() local
269 if (isDigit(*LookAhead)) { in doHexLookAhead()
270 ++LookAhead; in doHexLookAhead()
273 FirstNonDec = LookAhead; in doHexLookAhead()
276 if (LexHex && isHexDigit(*LookAhead)) in doHexLookAhead()
277 ++LookAhead; in doHexLookAhead()
282 bool isHex = LexHex && (*LookAhead == 'h' || *LookAhead == 'H'); in doHexLookAhead()
283 CurPtr = isHex || !FirstNonDec ? LookAhead : FirstNonDec; in doHexLookAhead()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseInit.cpp43 switch (PP.LookAhead(0).getKind()) { in MayBeDesignationStart()
68 return PP.LookAhead(0).is(tok::colon); in MayBeDesignationStart()
H A DParseStmt.cpp1014 unsigned LookAhead = 0; in handleExprStmt() local
1015 while (GetLookAheadToken(LookAhead).is(tok::semi)) { in handleExprStmt()
1016 ++LookAhead; in handleExprStmt()
1021 IsStmtExprResult = GetLookAheadToken(LookAhead).is(tok::r_brace) && in handleExprStmt()
1022 GetLookAheadToken(LookAhead + 1).is(tok::r_paren); in handleExprStmt()
1321 P.getPreprocessor().LookAhead(0).isNot(tok::colon))) { in Check()
H A DParseStmtAsm.cpp252 Token IdTok = PP.LookAhead(0); in ParseMSAsmIdentifier()
454 if (PP.LookAhead(0).is(tok::l_brace)) in ParseMicrosoftAsmStatement()
H A DParseOpenMP.cpp194 Tok = P.getPreprocessor().LookAhead(0); in parseOpenMPDirectiveKind()
538 if (PP.LookAhead(0).is(tok::colon)) { in ParseOpenMPDeclareMapperDirective()
2827 if (CKind == OMPC_ordered && PP.LookAhead(/*N=*/0).isNot(tok::l_paren)) in ParseOpenMPClause()
3568 if (PP.LookAhead(0).is(tok::colon)) in parseMapTypeModifiers()
3814 if (Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::l_paren)) { in ParseOpenMPVarList()
3828 Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::colon)) { in ParseOpenMPVarList()
H A DParseExprCXX.cpp401 PP.LookAhead(1).is(tok::identifier)) { in ParseOptionalCXXScopeSpecifier()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGRRList.cpp930 unsigned LookAhead = std::min((unsigned)Sequence.size(), in RestoreHazardCheckerBottomUp() local
932 if (LookAhead == 0) in RestoreHazardCheckerBottomUp()
935 std::vector<SUnit *>::const_iterator I = (Sequence.end() - LookAhead); in RestoreHazardCheckerBottomUp()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DParser.h785 return PP.LookAhead(N-1); in GetLookAheadToken()
792 return PP.LookAhead(0); in NextToken()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DPreprocessor.h1491 const Token &LookAhead(unsigned N) { in LookAhead() function