commit | 52a81c04a25001409f8b0c9b296248fd7cf80e13 | [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 | 40e70e768ba2d85d39c65333a340c86399edbfcb [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