Home
last modified time | relevance | path

Searched refs:l_square (Results 1 – 20 of 20) sorted by relevance

/external/clang/lib/Parse/
DParseInit.cpp35 case tok::l_square: { // designator: array-designator in MayBeDesignationStart()
183 while (Tok.is(tok::period) || Tok.is(tok::l_square)) { in ParseInitializerWithPotentialDesignator()
200 assert(Tok.is(tok::l_square) && "Unexpected token!"); in ParseInitializerWithPotentialDesignator()
221 BalancedDelimiterTracker T(*this, tok::l_square); in ParseInitializerWithPotentialDesignator()
DParseExprCXX.cpp79 if (!Next.is(tok::l_square) || Next.getLength() != 2) in CheckForTemplateAndDigraph()
581 && Tok.is(tok::l_square) in TryParseLambdaExpression()
621 assert(Tok.is(tok::l_square) && "Lambda expressions begin with '['."); in ParseLambdaIntroducer()
622 BalancedDelimiterTracker T(*this, tok::l_square); in ParseLambdaIntroducer()
928 if (Tok.is(tok::l_square) && Tok.getLength() == 2) { in ParseCXXCasts()
1800 if (Tok.is(tok::l_square) && in ParseUnqualifiedIdOperator()
1801 (!getLangOpts().CPlusPlus0x || NextToken().isNot(tok::l_square))) { in ParseUnqualifiedIdOperator()
1803 BalancedDelimiterTracker T(*this, tok::l_square); in ParseUnqualifiedIdOperator()
1840 case tok::l_square: { in ParseUnqualifiedIdOperator()
1842 BalancedDelimiterTracker T(*this, tok::l_square); in ParseUnqualifiedIdOperator()
[all …]
DRAIIObjectsForParser.h368 case tok::l_square: return P.BracketCount; in getDepth()
395 case tok::l_square: in BalancedDelimiterTracker()
DParseTentative.cpp435 if (Tok.isNot(tok::l_square) || NextToken().isNot(tok::l_square)) in isCXX11AttributeSpecifier()
702 } else if (Tok.is(tok::l_square)) { in TryParseDeclarator()
731 case tok::l_square: in isExpressionOrTypeSpecifierSimple()
1388 Next.is(tok::l_square) || isCXX0XVirtSpecifier(Next) || in isCXXFunctionDeclarator()
DParseDecl.cpp1105 assert(Tok.is(tok::l_square) && NextToken().is(tok::l_square)); in DiagnoseProhibitedCXX11Attribute()
1263 case tok::l_square: // Might be an attribute on an unnamed bit-field. in MightBeDeclarator()
1265 NextToken().is(tok::l_square); in MightBeDeclarator()
1282 case tok::l_square: in MightBeDeclarator()
1328 case tok::l_square: in SkipMalformedDecl()
1803 return T.is(tok::l_square) || T.is(tok::l_paren) || T.is(tok::r_paren) || in isValidAfterIdentifierInDeclarator()
1922 case tok::l_square: in ParseImplicitInt()
2147 case tok::l_square: in ParseDeclarationSpecifiers()
3881 case tok::l_square: in isConstructorDeclarator()
4403 } else if (Tok.is(tok::l_square)) { in ParseDirectDeclarator()
[all …]
DParseExpr.cpp1263 case tok::l_square: in ParseCastExpression()
1343 case tok::l_square: { // postfix-expression: p-e '[' expression ']' in ParsePostfixExpressionSuffix()
1359 BalancedDelimiterTracker T(*this, tok::l_square); in ParsePostfixExpressionSuffix()
1835 } else if (Tok.is(tok::l_square)) { in ParseBuiltinPrimaryExpression()
1842 BalancedDelimiterTracker ST(*this, tok::l_square); in ParseBuiltinPrimaryExpression()
DParseStmt.cpp145 Next.is(tok::amp) || Next.is(tok::l_square); in ParseStatementOrDeclarationAfterAttributes()
1864 if (!isTokenStringLiteral() && Tok.isNot(tok::l_square)) in ParseAsmOperandsOpt()
1869 if (Tok.is(tok::l_square)) { in ParseAsmOperandsOpt()
1870 BalancedDelimiterTracker T(*this, tok::l_square); in ParseAsmOperandsOpt()
DParseDeclCXX.cpp2897 assert(Tok.is(tok::l_square) && NextToken().is(tok::l_square) in ParseCXX11AttributeSpecifier()
3013 assert(Tok.is(tok::l_square) && "Not a Microsoft attribute list"); in ParseMicrosoftAttributes()
3015 while (Tok.is(tok::l_square)) { in ParseMicrosoftAttributes()
DParseCXXInlineMethods.cpp551 case tok::l_square: in ConsumeAndStoreUntil()
DParseObjc.cpp2093 case tok::l_square: in ParseObjCAtExpression()
2230 assert(Tok.is(tok::l_square) && getLangOpts().ObjC1 && in isSimpleObjCMessageExpression()
2275 assert(Tok.is(tok::l_square) && "'[' expected"); in ParseObjCMessageExpression()
DParser.cpp304 case tok::l_square: in SkipUntil()
/external/clang/unittests/Lex/
DLexerTest.cpp92 ASSERT_EQ(tok::l_square, toks[0].getKind()); in TEST_F()
95 ASSERT_EQ(tok::l_square, toks[3].getKind()); in TEST_F()
/external/llvm/lib/TableGen/
DTGLexer.h35 l_square, r_square, // [ ] enumerator
DTGLexer.cpp429 return tgtok::l_square; in LexBracket()
DTGParser.cpp1266 case tgtok::l_square: { // Value ::= '[' ValueList ']' in ParseSimpleValue()
1462 case tgtok::l_square: { in ParseValue()
1718 case tgtok::l_square: { // '[' ValueList ']' in ParseForeachDeclaration()
/external/clang/include/clang/Parse/
DParser.h300 return Tok.getKind() == tok::l_square || Tok.getKind() == tok::r_square; in isTokenBracket()
371 if (Tok.getKind() == tok::l_square) in ConsumeBracket()
1217 return (K == tok::l_square || K == tok::l_paren || in isPostfixExpressionSuffixStart()
1786 assert(Tok.is(tok::l_square)); in CheckProhibitedCXX11Attribute()
1787 if (!getLangOpts().CPlusPlus0x || NextToken().isNot(tok::l_square)) in CheckProhibitedCXX11Attribute()
1855 if (getLangOpts().MicrosoftExt && Tok.is(tok::l_square))
/external/clang/unittests/Basic/
DSourceManagerTest.cpp87 ASSERT_EQ(tok::l_square, toks[0].getKind()); in TEST_F()
/external/clang/include/clang/Basic/
DTokenKinds.def139 PUNCTUATOR(l_square, "[")
/external/clang/lib/Lex/
DLexer.cpp2857 Kind = tok::l_square; in LexTokenInternal()
3094 Kind = tok::l_square; in LexTokenInternal()
DModuleMap.cpp599 case tok::l_square: in consumeToken()