Changeset 1259c35 for src/AST/Convert.cpp
- Timestamp:
- May 27, 2019, 2:38:13 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- ebc0a85
- Parents:
- 0c6900b (diff), a7d50b6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Convert.cpp
r0c6900b r1259c35 397 397 ThrowStmt::Kind kind; 398 398 switch (node->kind) { 399 case ast:: ThrowStmt::Terminate:399 case ast::ExceptionKind::Terminate: 400 400 kind = ThrowStmt::Terminate; 401 401 break; 402 case ast:: ThrowStmt::Resume:402 case ast::ExceptionKind::Resume: 403 403 kind = ThrowStmt::Resume; 404 404 break; … … 429 429 CatchStmt::Kind kind; 430 430 switch (node->kind) { 431 case ast:: CatchStmt::Terminate:431 case ast::ExceptionKind::Terminate: 432 432 kind = CatchStmt::Terminate; 433 433 break; 434 case ast:: CatchStmt::Resume:434 case ast::ExceptionKind::Resume: 435 435 kind = CatchStmt::Resume; 436 436 break; … … 1735 1735 virtual void visit( ThrowStmt * old ) override final { 1736 1736 if ( inCache( old ) ) return; 1737 ast:: ThrowStmt::Kind kind;1737 ast::ExceptionKind kind; 1738 1738 switch (old->kind) { 1739 1739 case ThrowStmt::Terminate: 1740 kind = ast:: ThrowStmt::Terminate;1740 kind = ast::ExceptionKind::Terminate; 1741 1741 break; 1742 1742 case ThrowStmt::Resume: 1743 kind = ast:: ThrowStmt::Resume;1743 kind = ast::ExceptionKind::Resume; 1744 1744 break; 1745 1745 default: … … 1771 1771 virtual void visit( CatchStmt * old ) override final { 1772 1772 if ( inCache( old ) ) return; 1773 ast:: CatchStmt::Kind kind;1773 ast::ExceptionKind kind; 1774 1774 switch (old->kind) { 1775 1775 case CatchStmt::Terminate: 1776 kind = ast:: CatchStmt::Terminate;1776 kind = ast::ExceptionKind::Terminate; 1777 1777 break; 1778 1778 case CatchStmt::Resume: 1779 kind = ast:: CatchStmt::Resume;1779 kind = ast::ExceptionKind::Resume; 1780 1780 break; 1781 1781 default:
Note: See TracChangeset
for help on using the changeset viewer.