Lines Matching refs:TryConsumeToken
149 if (!TryConsumeToken(tok::comma)) in ParseObjCAtClassDeclaration()
525 if (TryConsumeToken(tok::colon, colonLoc)) { in parseObjCTypeParamListOrProtocolRefs()
558 } while (TryConsumeToken(tok::comma)); in parseObjCTypeParamListOrProtocolRefs()
1585 if (!TryConsumeToken(tok::comma)) in ParseObjCProtocolReferences()
1682 } while (TryConsumeToken(tok::comma)); in parseObjCTypeArgsOrProtocolQualifiers()
1742 TryConsumeToken(tok::ellipsis, ellipsisLoc); in parseObjCTypeArgsOrProtocolQualifiers()
1752 } while (TryConsumeToken(tok::comma)); in parseObjCTypeArgsOrProtocolQualifiers()
1918 if (TryConsumeToken(tok::at)) { // parse objc-visibility-spec in ParseObjCClassInstanceVariables()
2024 if (TryConsumeToken(tok::semi)) { // forward declaration of one protocol. in ParseObjCAtProtocolDeclaration()
2179 if (TryConsumeToken(tok::colon)) { in ParseObjCAtImplementationDeclaration()
2336 if (TryConsumeToken(tok::equal)) { in ParseObjCPropertySynthesize()
3425 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseObjCDictionaryLiteral()
3434 if (!TryConsumeToken(tok::comma) && Tok.isNot(tok::r_brace)) in ParseObjCDictionaryLiteral()
3528 if (TryConsumeToken(tok::coloncolon)) { // Handle :: in C++. in ParseObjCSelectorExpression()