Changeset 17cb385 for src/ControlStruct/HoistControlDecls.cpp
- Timestamp:
- Feb 2, 2022, 7:51:30 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- 941e14a
- Parents:
- fc72696c (diff), 4e7171f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/HoistControlDecls.cpp
rfc72696c r17cb385 10 10 // Created On : Fri Dec 3 15:34:00 2021 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Jan 31 18:52:35202213 // Update Count : 2 312 // Last Modified On : Tue Feb 1 18:59:47 2022 13 // Update Count : 25 14 14 // 15 15 … … 35 35 36 36 CompoundStmt * block = new CompoundStmt( stmt->location ); // create empty compound statement 37 // { 38 // } 37 // {} 39 38 40 39 for ( const Stmt * next : stmt->inits ) { // link conditional declarations into compound … … 69 68 return hoist<ForStmt>( stmt ); 70 69 } 71 const Stmt * postvisit( const While Stmt * stmt ) {72 return hoist<While Stmt>( stmt );70 const Stmt * postvisit( const WhileDoStmt * stmt ) { 71 return hoist<WhileDoStmt>( stmt ); 73 72 } 74 73 };
Note:
See TracChangeset
for help on using the changeset viewer.