Ignore:
Timestamp:
Jul 12, 2016, 6:34:10 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
e4d3ceb
Parents:
6e4b913
Message:

changes for switch and choose statements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/AddStmtVisitor.cc

    r6e4b913 r4e06c1e  
    99// Author           : Rob Schluntz
    1010// Created On       : Wed Jun 22 12:11:17 2016
    11 // Last Modified By : Rob Schluntz
    12 // Last Modified On : Wed Jun 22 12:16:29 2016
    13 // Update Count     : 11
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Tue Jul 12 17:49:59 2016
     13// Update Count     : 12
    1414//
    1515
     
    7575}
    7676
    77 void AddStmtVisitor::visit(ChooseStmt *switchStmt) {
    78         visitStatementList( switchStmt->get_branches() );
    79         maybeAccept( switchStmt->get_condition(), *this );
    80 }
    81 
    8277void AddStmtVisitor::visit(CaseStmt *caseStmt) {
    8378        visitStatementList( caseStmt->get_statements() );
Note: See TracChangeset for help on using the changeset viewer.