| 1830 | } |
| 1831 | |
| 1832 | TypeDeclPtr ExprBlock::makeBlockType () const { |
| 1833 | auto eT = new TypeDecl(Type::tBlock); |
| 1834 | eT->constant = true; |
| 1835 | if ( type ) { |
| 1836 | eT->firstType = new TypeDecl(*type); |
| 1837 | } |
| 1838 | for ( auto & arg : arguments ) { |
| 1839 | if ( arg->type ) { |
| 1840 | eT->argTypes.push_back(new TypeDecl(*arg->type)); |
| 1841 | eT->argNames.push_back(arg->name); |
| 1842 | } |
| 1843 | } |
| 1844 | return eT; |
| 1845 | } |
| 1846 | |
| 1847 | void ExprBlock::visitFinally(Visitor & vis) { |
| 1848 | if ( !finalList.empty() && !finallyDisabled ) { |
no test coverage detected