- File:
-
- 1 edited
-
src/ControlStruct/HoistControlDecls.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/HoistControlDecls.cpp
r3b0bc16 r45040b61 10 10 // Created On : Fri Dec 3 15:34:00 2021 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Feb 1 18:59:47202213 // Update Count : 2 512 // Last Modified On : Mon Jan 31 18:52:35 2022 13 // Update Count : 23 14 14 // 15 15 … … 35 35 36 36 CompoundStmt * block = new CompoundStmt( stmt->location ); // create empty compound statement 37 // {} 37 // { 38 // } 38 39 39 40 for ( const Stmt * next : stmt->inits ) { // link conditional declarations into compound … … 68 69 return hoist<ForStmt>( stmt ); 69 70 } 70 const Stmt * postvisit( const While DoStmt * stmt ) {71 return hoist<While DoStmt>( stmt );71 const Stmt * postvisit( const WhileStmt * stmt ) { 72 return hoist<WhileStmt>( stmt ); 72 73 } 73 74 };
Note:
See TracChangeset
for help on using the changeset viewer.