commit | 4eb206bebcdab28ababe8df55c6185cec2cdc071 | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Wed Sep 03 18:15:37 2008 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Wed Sep 03 18:15:37 2008 +0000 |
tree | 467e7c58fdf64d3a041080d5b516b52740dfd562 | |
parent | a89d197c919e01ccb54d7822cc8886c373bcba00 [diff] |
Add semantic analysis for "blocks". Highlights... - 4 new AST nodes, BlockExpr, BlockStmtExpr, BlockExprExpr, BlockDeclRefExpr. - Sema::ActOnBlockStart(), ActOnBlockError(), ActOnBlockStmtExpr(), ActOnBlockExprExpr(), ActOnBlockReturnStmt(). Next steps... - hack Sema::ActOnIdentifierExpr() to deal with block decl refs. - add attribute handler for byref decls. - add test cases. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55710 91177308-0d34-0410-b5e6-96231b3b80d8