ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change
on this file since a32b204 was
51b7345,
checked in by Peter A. Buhr <pabuhr@…>, 10 years ago
|
initial commit
|
-
Property mode set to
100644
|
File size:
331 bytes
|
Rev | Line | |
---|
[51b7345] | 1 | BasicInit::mutate(SynTree::CompoundStmt *compoundStmt) |
---|
| 2 | - collect all decl stmts from kids |
---|
| 3 | - move to top of block |
---|
| 4 | - replace initializers with assignment stmts |
---|
| 5 | |
---|
| 6 | - throw( 0 ) s.b. throw SemanticError( "type doesn't match initializer in ", odecl ); |
---|
| 7 | - doesn't work when initialization depends on previous computation in same block |
---|
Note: See
TracBrowser
for help on using the repository browser.