Home
last modified time | relevance | path

Searched refs:r_square (Results 1 – 16 of 16) sorted by relevance

/external/clang/lib/Parse/
DParseInit.cpp165 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()
DParseObjc.cpp1961 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 …]
DParseTentative.cpp435 SkipUntil(tok::r_square, false); in isCXX0XAttributeSpecifier()
437 if (Tok.isNot(tok::r_square)) in isCXX0XAttributeSpecifier()
1269 if (!SkipUntil(tok::r_square)) in TryParseBracketDeclarator()
DParseExpr.cpp716 (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()
DParseExprCXX.cpp786 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()
DParseCXXInlineMethods.cpp521 ConsumeAndStoreUntil(tok::r_square, Toks, /*StopAtSemi=*/false); in ConsumeAndStoreUntil()
541 case tok::r_square: in ConsumeAndStoreUntil()
DParseDeclCXX.cpp2588 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()
DParser.cpp142 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()
DParseDecl.cpp4043 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()
DParseStmt.cpp1767 MatchRHSPunctuation(tok::r_square, Loc); in ParseAsmOperandsOpt()
/external/llvm/utils/TableGen/
DTGLexer.h35 l_square, r_square, // [ ] enumerator
DTGLexer.cpp103 case ']': return tgtok::r_square; in LexToken()
DTGParser.cpp1161 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()
/external/clang/lib/Lex/
DLexer.cpp2250 Kind = tok::r_square; in LexTokenInternal()
2540 Kind = tok::r_square; // ':>' -> ']' in LexTokenInternal()
/external/clang/include/clang/Basic/
DTokenKinds.def126 PUNCTUATOR(r_square, "]")
/external/clang/include/clang/Parse/
DParser.h257 return Tok.getKind() == tok::l_square || Tok.getKind() == tok::r_square; in isTokenBracket()