Lines Matching refs:TryConsumeToken
154 if (!TryConsumeToken(tok::comma)) in ParseObjCAtClassDeclaration()
518 if (TryConsumeToken(tok::colon, colonLoc)) { in parseObjCTypeParamListOrProtocolRefs()
544 } while (TryConsumeToken(tok::comma)); in parseObjCTypeParamListOrProtocolRefs()
1572 if (!TryConsumeToken(tok::comma)) in ParseObjCProtocolReferences()
1668 } while (TryConsumeToken(tok::comma)); in parseObjCTypeArgsOrProtocolQualifiers()
1750 TryConsumeToken(tok::ellipsis, ellipsisLoc); in parseObjCTypeArgsOrProtocolQualifiers()
1764 } while (TryConsumeToken(tok::comma)); in parseObjCTypeArgsOrProtocolQualifiers()
1943 if (TryConsumeToken(tok::at)) { // parse objc-visibility-spec in ParseObjCClassInstanceVariables()
2048 if (TryConsumeToken(tok::semi)) { // forward declaration of one protocol. in ParseObjCAtProtocolDeclaration()
2203 if (TryConsumeToken(tok::colon)) { in ParseObjCAtImplementationDeclaration()
2360 if (TryConsumeToken(tok::equal)) { in ParseObjCPropertySynthesize()
3482 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseObjCDictionaryLiteral()
3491 if (!TryConsumeToken(tok::comma) && Tok.isNot(tok::r_brace)) in ParseObjCDictionaryLiteral()
3585 if (TryConsumeToken(tok::coloncolon)) { // Handle :: in C++. in ParseObjCSelectorExpression()