Home
last modified time | relevance | path

Searched refs:IdentTok (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenACC.cpp245 Token IdentTok = P.getCurToken(); in tryParseAndConsumeSpecialTokenKind() local
248 if (isTokenIdentifierOrKeyword(P, IdentTok) && P.NextToken().is(tok::colon)) { in tryParseAndConsumeSpecialTokenKind()
252 if (!isOpenACCSpecialToken(Kind, IdentTok)) { in tryParseAndConsumeSpecialTokenKind()
253 P.Diag(IdentTok, diag::err_acc_invalid_tag_kind) in tryParseAndConsumeSpecialTokenKind()
254 << IdentTok.getIdentifierInfo() << DirOrClause in tryParseAndConsumeSpecialTokenKind()
H A DParseStmt.cpp691 Token IdentTok = Tok; // Save the whole token. in ParseLabeledStatement() local
740 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(), in ParseLabeledStatement()
741 IdentTok.getLocation()); in ParseLabeledStatement()
745 return Actions.ActOnLabelStmt(IdentTok.getLocation(), LD, ColonLoc, in ParseLabeledStatement()