Changeset d66e7b7 for src/AST/Stmt.hpp


Ignore:
Timestamp:
May 17, 2019, 11:16:34 AM (5 years ago)
Author:
Andrew Beach <ajbeach@…>
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:
896737b
Parents:
246c245
Message:

Removed ACCEPT_1 and ACCEPT_N from Convert.cpp. Use GET_ACCEPT_? instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Stmt.hpp

    r246c245 rd66e7b7  
    1010// Created On       : Wed May  8 13:00:00 2019
    1111// Last Modified By : Andrew Beach
    12 // Last Modified On : Wed May 16 12:20:00 2019
    13 // Update Count     : 3
     12// Last Modified On : Fri May 17 10:03:00 2019
     13// Update Count     : 4
    1414//
    1515
     
    5454        std::list<ptr<Stmt>> kids;
    5555
    56         CompoundStmt(const CodeLocation & loc, std::list<ptr<Stmt>> && ks = {} )
    57         : Stmt(loc), kids(std::move(ks)) {}
     56        CompoundStmt(const CodeLocation & loc, std::list<ptr<Stmt>> && ks = {},
     57                std::vector<Label>&& labels = {} )
     58        : Stmt(loc, std::move(labels)), kids(std::move(ks)) {}
    5859
    5960        CompoundStmt( const CompoundStmt& o );
Note: See TracChangeset for help on using the changeset viewer.