ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
ctor
deferred_resn
demangler
enum
forall-pointer-decay
gc_noraii
jacob/cs343-translation
jenkins-sandbox
memory
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
string
with_gc
Last change
on this file since db82596 was 843054c2, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago |
licencing: seventh groups of files
|
-
Property mode
set to
100644
|
File size:
331 bytes
|
Line | |
---|
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.