Searched refs:l_brace (Results 1 – 21 of 21) sorted by relevance
33 assert((Tok.is(tok::l_brace) || Tok.is(tok::colon) || Tok.is(tok::kw_try) || in ParseCXXInlineMethodDef()166 ConsumeAndStoreUntil(tok::l_brace, Toks, /*StopAtSemi=*/false); in ParseCXXInlineMethodDef()187 assert((Tok.is(tok::l_brace) || Tok.is(tok::equal)) && in ParseCXXNonStaticMemberInitializer()201 if (kind == tok::l_brace) { in ParseCXXNonStaticMemberInitializer()325 if (getLangOpts().CPlusPlus0x && Tok.is(tok::l_brace)) { in ParseLexedMethodDeclaration()395 assert((Tok.is(tok::l_brace) || Tok.is(tok::colon) || Tok.is(tok::kw_try)) in ParseLexedMethodDef()418 if (!Tok.is(tok::l_brace)) { in ParseLexedMethodDef()557 case tok::l_brace: in ConsumeAndStoreUntil()637 if (!ConsumeAndStoreUntil(tok::l_paren, tok::l_brace, Toks, in ConsumeAndStoreFunctionPrologue()650 assert(kind == tok::l_brace && "Must be left paren or brace here."); in ConsumeAndStoreFunctionPrologue()[all …]
151 Next.is(tok::identifier) || Next.is(tok::l_brace); in ParseStatementOrDeclarationAfterAttributes()192 case tok::l_brace: // C99 6.8.2: compound-statement in ParseStatementOrDeclarationAfterAttributes()322 if(Tok.isNot(tok::l_brace)) in ParseSEHTryBlockCommon()664 assert(Tok.is(tok::l_brace) && "Not a compount stmt!"); in ParseCompoundStatement()683 BalancedDelimiterTracker T(*this, tok::l_brace); in ParseCompoundStatementBody()916 C99orCXX && Tok.isNot(tok::l_brace)); in ParseIfStatement()949 C99orCXX && Tok.isNot(tok::l_brace)); in ParseIfStatement()1037 if (Tok.is(tok::l_brace)) { in ParseSwitchStatement()1057 C99orCXX && Tok.isNot(tok::l_brace)); in ParseSwitchStatement()1135 C99orCXX && Tok.isNot(tok::l_brace)); in ParseWhileStatement()[all …]
99 BalancedDelimiterTracker T(*this, tok::l_brace); in ParseNamespace()287 Tok.is(tok::l_brace) ? Tok.getLocation() in ParseLinkage()294 if (Tok.isNot(tok::l_brace)) { in ParseLinkage()310 BalancedDelimiterTracker T(*this, tok::l_brace); in ParseLinkage()1224 else if (Tok.is(tok::l_brace) || in ParseClassSpecifier()1227 (NextToken().is(tok::l_brace) || NextToken().is(tok::colon)))) { in ParseClassSpecifier()1434 assert(Tok.is(tok::l_brace) || in ParseClassSpecifier()1503 SkipUntil(tok::comma, tok::l_brace, true, true); in ParseBaseClause()1932 if (Tok.is(tok::l_brace) && !getLangOpts().CPlusPlus0x) { in ParseCXXClassMemberDeclaration()1935 if (Tok.is(tok::l_brace) || Tok.is(tok::colon) || Tok.is(tok::kw_try)) { in ParseCXXClassMemberDeclaration()[all …]
239 if (Tok.is(tok::l_brace)) in ParseObjCAtInterfaceDeclaration()282 if (Tok.is(tok::l_brace)) in ParseObjCAtInterfaceDeclaration()1250 assert(Tok.is(tok::l_brace) && "expected {"); in ParseObjCClassInstanceVariables()1256 BalancedDelimiterTracker T(*this, tok::l_brace); in ParseObjCClassInstanceVariables()1524 if (Tok.is(tok::l_brace)) // we have ivars in ParseObjCAtImplementationDeclaration()1760 SkipUntil(tok::l_brace, true, true); in ParseObjCSynchronizedStmt()1764 if (Tok.isNot(tok::l_brace)) { in ParseObjCSynchronizedStmt()1805 if (Tok.isNot(tok::l_brace)) { in ParseObjCTryStmt()1853 if (Tok.is(tok::l_brace)) in ParseObjCTryStmt()1879 if (Tok.is(tok::l_brace)) in ParseObjCTryStmt()[all …]
364 if (getLangOpts().CPlusPlus0x && Tok.is(tok::l_brace)) { in ParseRHSOfBinaryExpression()797 Next.is(tok::l_brace)) { in ParseCastExpression()1080 (!getLangOpts().CPlusPlus0x || Tok.isNot(tok::l_brace))) in ParseCastExpression()1084 if (Tok.is(tok::l_brace)) in ParseCastExpression()1363 if (getLangOpts().CPlusPlus0x && Tok.is(tok::l_brace)) { in ParsePostfixExpressionSuffix()2000 if (ExprType >= CompoundStmt && Tok.is(tok::l_brace)) { in ParseParenExpression()2087 if (Tok.is(tok::l_brace)) { in ParseParenExpression()2187 assert(Tok.is(tok::l_brace) && "Not a compound literal!"); in ParseCompoundLiteralExpression()2357 if (getLangOpts().CPlusPlus0x && Tok.is(tok::l_brace)) { in ParseExpressionList()2462 } else if (!Tok.is(tok::l_brace)) { in ParseBlockLiteralExpression()[all …]
367 case tok::l_brace: return P.BraceCount; in getDepth()386 case tok::l_brace: in BalancedDelimiterTracker()
298 else if (getLangOpts().CPlusPlus0x && Tok.is(tok::l_brace)) in isCXXConditionDeclaration()1204 bool isFollowedByBrace = Tok.is(tok::l_brace); in isCXXDeclarationSpecifier()1246 if (getLangOpts().CPlusPlus0x && NextToken().is(tok::l_brace)) in isCXXDeclarationSpecifier()1263 bool isFollowedByBrace = Tok.is(tok::l_brace); in isCXXDeclarationSpecifier()1389 Next.is(tok::l_brace) || Next.is(tok::kw_try) || in isCXXFunctionDeclarator()
309 case tok::l_brace: in SkipUntil()794 if (Tok.is(tok::l_brace)) // int X() {} in isStartOfFunctionDefinition()943 if (Tok.isNot(tok::l_brace) && in ParseFunctionDefinition()950 SkipUntil(tok::l_brace, true, true); in ParseFunctionDefinition()953 if (Tok.isNot(tok::l_brace)) in ParseFunctionDefinition()1007 (Tok.is(tok::l_brace) || Tok.is(tok::kw_try) || in ParseFunctionDefinition()1091 if (!Tok.is(tok::l_brace)) { in ParseFunctionDefinition()1811 BalancedDelimiterTracker Braces(*this, tok::l_brace); in ParseMicrosoftIfExistsExternalDeclaration()
402 BalancedDelimiterTracker T(*this, tok::l_brace); in ParseBraceInitializer()494 BalancedDelimiterTracker Braces(*this, tok::l_brace); in ParseMicrosoftIfExistsBraceInitializer()
1280 case tok::l_brace: in MightBeDeclarator()1315 case tok::l_brace: in SkipMalformedDecl()1320 if (Tok.is(tok::comma) || Tok.is(tok::l_brace) || Tok.is(tok::kw_try)) { in SkipMalformedDecl()1453 if (Tok.is(tok::l_brace)) in ParseDeclGroup()1699 } else if (getLangOpts().CPlusPlus0x && Tok.is(tok::l_brace) && in ParseDeclarationAfterDeclaratorAndAttributes()1805 T.is(tok::kw_asm) || T.is(tok::l_brace) || T.is(tok::colon); in isValidAfterIdentifierInDeclarator()1921 case tok::l_brace: in ParseImplicitInt()2921 BalancedDelimiterTracker T(*this, tok::l_brace); in ParseStructUnionBody()3121 if (Tok.isNot(tok::l_brace)) { in ParseEnumSpecifier()3131 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::l_brace) && in ParseEnumSpecifier()[all …]
566 SkipUntil(tok::l_brace); in ParseLambdaExpression()886 if (!Tok.is(tok::l_brace)) { in ParseLambdaExpressionAfterIntroducer()1238 (getLangOpts().CPlusPlus0x && Tok.is(tok::l_brace))) in ParseCXXTypeConstructExpression()1241 if (Tok.is(tok::l_brace)) { in ParseCXXTypeConstructExpression()1366 if (getLangOpts().CPlusPlus0x && Tok.is(tok::l_brace)) { in ParseCXXCondition()2306 } else if (Tok.is(tok::l_brace) && getLangOpts().CPlusPlus0x) { in ParseCXXNewExpression()2749 if (Tok.is(tok::l_brace)) { in ParseCXXAmbiguousParenExpression()
1310 assert((Tok.is(tok::l_brace) || Tok.is(tok::colon) || Tok.is(tok::kw_try)) in ParseLateTemplatedFuncDef()1336 if (Tok.is(tok::l_brace)) { in ParseLateTemplatedFuncDef()1366 ConsumeAndStoreUntil(tok::l_brace, Toks, /*StopAtSemi=*/false); in LexTemplateFunctionForLateParsing()
36 l_brace, r_brace, // { } enumerator
395 case tgtok::l_brace: in ParseObjectName()654 if (Lex.getCode() != tgtok::l_brace) in ParseOptionalBitList()1238 case tgtok::l_brace: { // Value ::= '{' ValueList '}' in ParseSimpleValue()1436 case tgtok::l_brace: { in ParseValue()1518 case tgtok::l_brace: in ParseValue()1741 case tgtok::l_brace: { // '{' RangeList '}' in ParseForeachDeclaration()1867 if (Lex.getCode() != tgtok::l_brace) in ParseBody()2013 if (Lex.getCode() != tgtok::l_brace) { in ParseForeach()2137 if (Lex.getCode() != tgtok::l_brace) { in ParseTopLevelLet()2212 if (Lex.getCode() != tgtok::l_brace) { in ParseMultiClass()
110 case '{': return tgtok::l_brace; in LexToken()
112 : l_brace statements r_brace opt_semi opt_nls113 | l_brace r_brace opt_semi opt_nls130 : l_brace statements r_brace opt_semi opt_nls131 | l_brace r_brace opt_semi opt_nls148 | l_brace r_brace149 | l_brace statements r_brace326 l_brace
55006 : l_brace statements r_brace opt_semi opt_nls55007 | l_brace r_brace opt_semi opt_nls55024 : l_brace statements r_brace opt_semi opt_nls55025 | l_brace r_brace opt_semi opt_nls55042 | l_brace r_brace55043 | l_brace statements r_brace55220 l_brace
304 return Tok.getKind() == tok::l_brace || Tok.getKind() == tok::r_brace; in isTokenBrace()385 if (Tok.getKind() == tok::l_brace) in ConsumeBrace()1378 if (Tok.isNot(tok::l_brace)) in ParseInitializer()
143 PUNCTUATOR(l_brace, "{")
2869 Kind = tok::l_brace; in LexTokenInternal()3097 Kind = tok::l_brace; in LexTokenInternal()
595 case tok::l_brace: in consumeToken()