Changeset de31a1d for src/ControlStruct/MultiLevelExit.cpp
- Timestamp:
- Nov 8, 2021, 10:51:48 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- cb921d4
- Parents:
- 817bb3c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/MultiLevelExit.cpp
r817bb3c rde31a1d 105 105 public ast::WithVisitorRef<MultiLevelExitCore>, 106 106 public ast::WithShortCircuiting, public ast::WithGuards { 107 MultiLevelExitCore( const LabelToStmt & lt, LabelGenerator _new* lg );107 MultiLevelExitCore( const LabelToStmt & lt, LabelGenerator * lg ); 108 108 109 109 void previsit( const ast::FunctionDecl * ); … … 131 131 std::vector<Entry> enclosing_control_structures; 132 132 ast::Label break_label; 133 LabelGenerator _new* label_gen;133 LabelGenerator * label_gen; 134 134 bool inFinally; 135 135 … … 155 155 156 156 MultiLevelExitCore::MultiLevelExitCore( 157 const LabelToStmt & lt, LabelGenerator _new* lg ) :157 const LabelToStmt & lt, LabelGenerator * lg ) : 158 158 target_table( lt ), break_label( CodeLocation(), "" ), label_gen( lg ), 159 159 inFinally( false ) … … 608 608 const ast::CompoundStmt * stmt, 609 609 const LabelToStmt & labelTable, 610 LabelGenerator _new* labelGen ) {610 LabelGenerator * labelGen ) { 611 611 // Must start in the body, so FunctionDecls can be a stopping point. 612 612 ast::Pass<MultiLevelExitCore> visitor( labelTable, labelGen );
Note: See TracChangeset
for help on using the changeset viewer.