Changeset 6f4b7f2 for src/AST/Convert.cpp
- Timestamp:
- May 24, 2019, 5:26:44 PM (6 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:
- a7d50b6, c519942
- Parents:
- 21a44ca
- File:
-
- 1 edited
-
src/AST/Convert.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Convert.cpp
r21a44ca r6f4b7f2 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; … … 1739 1739 virtual void visit( ThrowStmt * old ) override final { 1740 1740 if ( inCache( old ) ) return; 1741 ast:: ThrowStmt::Kind kind;1741 ast::ExceptionKind kind; 1742 1742 switch (old->kind) { 1743 1743 case ThrowStmt::Terminate: 1744 kind = ast:: ThrowStmt::Terminate;1744 kind = ast::ExceptionKind::Terminate; 1745 1745 break; 1746 1746 case ThrowStmt::Resume: 1747 kind = ast:: ThrowStmt::Resume;1747 kind = ast::ExceptionKind::Resume; 1748 1748 break; 1749 1749 default: … … 1775 1775 virtual void visit( CatchStmt * old ) override final { 1776 1776 if ( inCache( old ) ) return; 1777 ast:: CatchStmt::Kind kind;1777 ast::ExceptionKind kind; 1778 1778 switch (old->kind) { 1779 1779 case CatchStmt::Terminate: 1780 kind = ast:: CatchStmt::Terminate;1780 kind = ast::ExceptionKind::Terminate; 1781 1781 break; 1782 1782 case CatchStmt::Resume: 1783 kind = ast:: CatchStmt::Resume;1783 kind = ast::ExceptionKind::Resume; 1784 1784 break; 1785 1785 default:
Note:
See TracChangeset
for help on using the changeset viewer.