Searched refs:r_square (Results 1 – 16 of 16) sorted by relevance
165 SkipUntil(tok::r_square); in ParseInitializerWithPotentialDesignator()206 SkipUntil(tok::r_square); in ParseInitializerWithPotentialDesignator()233 SkipUntil(tok::r_square); in ParseInitializerWithPotentialDesignator()243 Tok.isNot(tok::r_square)) { in ParseInitializerWithPotentialDesignator()261 SkipUntil(tok::r_square); in ParseInitializerWithPotentialDesignator()269 SourceLocation EndLoc = MatchRHSPunctuation(tok::r_square, StartLoc); in ParseInitializerWithPotentialDesignator()
1961 if (AfterNext.is(tok::colon) || AfterNext.is(tok::r_square)) { in isStartOfObjCClassMessageMissingOpenBracket()1988 SkipUntil(tok::r_square); in ParseObjCMessageExpression()2010 SkipUntil(tok::r_square); in ParseObjCMessageExpression()2038 SkipUntil(tok::r_square); in ParseObjCMessageExpression()2056 SkipUntil(tok::r_square); in ParseObjCMessageExpression()2141 SkipUntil(tok::r_square); in ParseObjCMessageExpressionBody()2166 SkipUntil(tok::r_square); in ParseObjCMessageExpressionBody()2175 SkipUntil(tok::r_square); in ParseObjCMessageExpressionBody()2200 SkipUntil(tok::r_square); in ParseObjCMessageExpressionBody()2219 SkipUntil(tok::r_square); in ParseObjCMessageExpressionBody()[all …]
435 SkipUntil(tok::r_square, false); in isCXX0XAttributeSpecifier()437 if (Tok.isNot(tok::r_square)) in isCXX0XAttributeSpecifier()1269 if (!SkipUntil(tok::r_square)) in TryParseBracketDeclarator()
716 (NextToken().is(tok::colon) || NextToken().is(tok::r_square))) || in ParseCastExpression()733 Next.is(tok::colon) || Next.is(tok::r_square)) in ParseCastExpression()1166 (NextToken().is(tok::colon) || NextToken().is(tok::r_square))) { in ParsePostfixExpressionSuffix()1196 if (!LHS.isInvalid() && !Idx.isInvalid() && Tok.is(tok::r_square)) { in ParsePostfixExpressionSuffix()1203 MatchRHSPunctuation(tok::r_square, Loc); in ParsePostfixExpressionSuffix()1646 MatchRHSPunctuation(tok::r_square, Comps.back().LocStart); in ParseBuiltinPrimaryExpression()1843 (NextToken().is(tok::colon) || NextToken().is(tok::r_square))) { in ParseParenExpression()
786 case tok::r_square: in ParseThrowExpression()1400 SourceLocation RBracketLoc = MatchRHSPunctuation(tok::r_square, in ParseUnqualifiedIdOperator()1441 SourceLocation RBracketLoc = MatchRHSPunctuation(tok::r_square, in ParseUnqualifiedIdOperator()1859 SkipUntil(tok::r_square); in ParseDirectNewDeclarator()1864 SourceLocation RLoc = MatchRHSPunctuation(tok::r_square, LLoc); in ParseDirectNewDeclarator()1925 SourceLocation RHS = MatchRHSPunctuation(tok::r_square, LHS); in ParseCXXDeleteExpression()
521 ConsumeAndStoreUntil(tok::r_square, Toks, /*StopAtSemi=*/false); in ConsumeAndStoreUntil()541 case tok::r_square: in ConsumeAndStoreUntil()
2588 SkipUntil(tok::r_square, tok::comma, true, true); in ParseCXX0XAttributes()2656 if (ExpectAndConsume(tok::r_square, diag::err_expected_rsquare)) in ParseCXX0XAttributes()2657 SkipUntil(tok::r_square, false); in ParseCXX0XAttributes()2659 if (ExpectAndConsume(tok::r_square, diag::err_expected_rsquare)) in ParseCXX0XAttributes()2660 SkipUntil(tok::r_square, false); in ParseCXX0XAttributes()2699 SkipUntil(tok::r_square, true, true); in ParseMicrosoftAttributes()2701 ExpectAndConsume(tok::r_square, diag::err_expected_rsquare); in ParseMicrosoftAttributes()
142 case tok::r_square: LHSName = "["; DID = diag::err_expected_rsquare; break; in MatchRHSPunctuation()208 if ((Tok.is(tok::r_paren) || Tok.is(tok::r_square)) && in ExpectAndConsumeSemi()270 SkipUntil(tok::r_square, false, false, StopAtCodeCompletion); in SkipUntil()288 case tok::r_square: in SkipUntil()
4043 if (Tok.getKind() == tok::r_square) { in ParseBracketDeclarator()4044 SourceLocation EndLoc = MatchRHSPunctuation(tok::r_square, StartLoc); in ParseBracketDeclarator()4055 GetLookAheadToken(1).is(tok::r_square)) { in ParseBracketDeclarator()4060 SourceLocation EndLoc = MatchRHSPunctuation(tok::r_square, StartLoc); in ParseBracketDeclarator()4095 if (Tok.is(tok::star) && GetLookAheadToken(1).is(tok::r_square)) { in ParseBracketDeclarator()4103 } else if (Tok.isNot(tok::r_square)) { in ParseBracketDeclarator()4121 SkipUntil(tok::r_square); in ParseBracketDeclarator()4125 SourceLocation EndLoc = MatchRHSPunctuation(tok::r_square, StartLoc); in ParseBracketDeclarator()
1767 MatchRHSPunctuation(tok::r_square, Loc); in ParseAsmOperandsOpt()
35 l_square, r_square, // [ ] enumerator
103 case ']': return tgtok::r_square; in LexToken()
1161 if (Lex.getCode() != tgtok::r_square) { in ParseSimpleValue()1166 if (Lex.getCode() != tgtok::r_square) { in ParseSimpleValue()1347 if (Lex.getCode() != tgtok::r_square) { in ParseValue()
2250 Kind = tok::r_square; in LexTokenInternal()2540 Kind = tok::r_square; // ':>' -> ']' in LexTokenInternal()
126 PUNCTUATOR(r_square, "]")
257 return Tok.getKind() == tok::l_square || Tok.getKind() == tok::r_square; in isTokenBracket()