Lines Matching refs:l_brace
143 nextTok.isOneOf(tok::l_paren, tok::semi, tok::identifier, tok::l_brace); in StatementFilterCCC()
293 case tok::l_brace: // C99 6.8.2: compound-statement in ParseStatementOrDeclarationAfterAttributes()
564 if (Tok.isNot(tok::l_brace)) in ParseSEHTryBlock()
565 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); in ParseSEHTryBlock()
635 if (Tok.isNot(tok::l_brace)) in ParseSEHExceptBlock()
636 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); in ParseSEHExceptBlock()
656 if (Tok.isNot(tok::l_brace)) in ParseSEHFinallyBlock()
657 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); in ParseSEHFinallyBlock()
976 assert(Tok.is(tok::l_brace) && "Not a compound stmt!"); in ParseCompoundStatement()
1128 BalancedDelimiterTracker T(*this, tok::l_brace); in ParseCompoundStatementBody()
1351 ShouldSkip(P.getCurToken().is(tok::l_brace)) { in MisleadingIndentationChecker()
1505 bool IsBracedThen = Tok.is(tok::l_brace); in ParseIfStatement()
1577 Tok.is(tok::l_brace)); in ParseIfStatement()
1704 if (Tok.is(tok::l_brace)) { in ParseSwitchStatement()
1724 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseSwitchStatement()
1797 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseWhileStatement()
1843 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseDoStatement()
2017 if (Tok.is(tok::l_brace)) in ParseForStatement()
2256 Tok.is(tok::l_brace)); in ParseForStatement()
2375 if (Tok.is(tok::l_brace) && getLangOpts().CPlusPlus) { in ParseReturnStatement()
2435 assert(Tok.is(tok::l_brace)); in ParseFunctionStatementBody()
2531 if (!SkipUntil(tok::l_brace, StopAtCodeCompletion) || in trySkippingFunctionBody()
2570 if (Tok.isNot(tok::l_brace)) in ParseCXXTryBlockCommon()
2571 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); in ParseCXXTryBlockCommon()
2674 if (Tok.isNot(tok::l_brace)) in ParseCXXCatchBlock()
2675 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); in ParseCXXCatchBlock()
2695 if (!Tok.is(tok::l_brace)) { in ParseMicrosoftIfExistsStatement()
2696 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseMicrosoftIfExistsStatement()
2714 BalancedDelimiterTracker Braces(*this, tok::l_brace); in ParseMicrosoftIfExistsStatement()
2716 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseMicrosoftIfExistsStatement()