Lines Matching refs:l_brace
128 nextTok.isOneOf(tok::l_paren, tok::semi, tok::identifier, tok::l_brace); in StatementFilterCCC()
247 case tok::l_brace: // C99 6.8.2: compound-statement in ParseStatementOrDeclarationAfterAttributes()
486 if (Tok.isNot(tok::l_brace)) in ParseSEHTryBlock()
487 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); in ParseSEHTryBlock()
557 if (Tok.isNot(tok::l_brace)) in ParseSEHExceptBlock()
558 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); in ParseSEHExceptBlock()
578 if (Tok.isNot(tok::l_brace)) in ParseSEHFinallyBlock()
579 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); in ParseSEHFinallyBlock()
902 assert(Tok.is(tok::l_brace) && "Not a compount stmt!"); in ParseCompoundStatement()
1041 BalancedDelimiterTracker T(*this, tok::l_brace); in ParseCompoundStatementBody()
1248 ShouldSkip(P.getCurToken().is(tok::l_brace)) { in MisleadingIndentationChecker()
1383 bool IsBracedThen = Tok.is(tok::l_brace); in ParseIfStatement()
1448 Tok.is(tok::l_brace)); in ParseIfStatement()
1543 if (Tok.is(tok::l_brace)) { in ParseSwitchStatement()
1563 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseSwitchStatement()
1636 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseWhileStatement()
1682 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseDoStatement()
1847 if (Tok.is(tok::l_brace)) in ParseForStatement()
2067 Tok.is(tok::l_brace)); in ParseForStatement()
2186 if (Tok.is(tok::l_brace) && getLangOpts().CPlusPlus) { in ParseReturnStatement()
2245 assert(Tok.is(tok::l_brace)); in ParseFunctionStatementBody()
2339 if (!SkipUntil(tok::l_brace, StopAtCodeCompletion) || in trySkippingFunctionBody()
2378 if (Tok.isNot(tok::l_brace)) in ParseCXXTryBlockCommon()
2379 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); in ParseCXXTryBlockCommon()
2483 if (Tok.isNot(tok::l_brace)) in ParseCXXCatchBlock()
2484 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); in ParseCXXCatchBlock()
2504 if (!Tok.is(tok::l_brace)) { in ParseMicrosoftIfExistsStatement()
2505 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseMicrosoftIfExistsStatement()
2523 BalancedDelimiterTracker Braces(*this, tok::l_brace); in ParseMicrosoftIfExistsStatement()
2525 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseMicrosoftIfExistsStatement()