Home | History | Annotate | Download | only in Parse

Lines Matching refs:Block

1 //===--- ParseStmt.cpp - Statement and Block Parser -----------------------===//
10 // This file implements the Statement and Block portions of the Parser
61 /// [C++] try-block
62 /// [MS] seh-try-block
281 // An __if_exists block is like a compound statement, but it doesn't create
285 case tok::kw_try: // C++ 15: try-block
403 // If a constant expression is followed by a colon inside a switch block,
419 /// seh-try-block:
423 /// seh-except-block
424 /// seh-finally-block
461 /// seh-except-block:
503 StmtResult Block(ParseCompoundStatement());
505 if(Block.isInvalid())
506 return Block;
508 return Actions.ActOnSEHExceptBlock(ExceptLoc, FilterExpr.get(), Block.get());
513 /// seh-finally-block:
527 StmtResult Block(ParseCompoundStatement());
528 if(Block.isInvalid()) {
530 return Block;
533 return Actions.ActOnFinishSEHFinallyBlock(FinallyLoc, Block.get());
819 /// ParseCompoundStatement - Parse a "{}" block.
822 /// { block-item-list[opt] }
823 /// [GNU] { label-declarations block-item-list } [TODO]
825 /// block-item-list:
826 /// block-item
827 /// block-item-list block-item
829 /// block-item:
906 /// consume the '}' at the end of the block. It does not manipulate the scope
1101 // C99 6.8.4p3 - In C99, the if statement is a block. This is not
1225 // C99 6.8.4p3 - In C99, the switch statement is a block. This is
1310 // C99 6.8.5p5 - In C99, the while statement is a block. This is not
1372 // C99 6.8.5p5 - In C99, the do statement is a block. This is not
1491 // C99 6.8.5p5 - In C99, the for statement is a block. This is not
1926 /// ParseFunctionTryBlock - Parse a C++ function-try-block.
1928 /// function-try-block:
1936 "parsing function try block");
1992 /// ParseCXXTryBlock - Parse a C++ try-block.
1994 /// try-block:
2004 /// ParseCXXTryBlockCommon - Parse the common part of try-block and
2005 /// function-try-block.
2007 /// try-block:
2010 /// function-try-block:
2016 /// [Borland] try-block:
2017 /// 'try' compound-statement seh-except-block
2018 /// 'try' compound-statement seh-finally-block
2076 /// ParseCXXCatchBlock - Parse a C++ catch block, called handler in the standard
2097 // shall not be redeclared in the outermost block of the handler.
2128 StmtResult Block(ParseCompoundStatement());
2129 if (Block.isInvalid())
2130 return Block;
2132 return Actions.ActOnCXXCatchBlock(CatchLoc, ExceptionDecl, Block.get());