HomePhabricator

ListAssignment: define RHS kind explicitly for all expression types

Description

ListAssignment: define RHS kind explicitly for all expression types

It's easy to introduce bug by adding a new expression and not defining
its ListAssignment RHS kind. Add all expression types explicitly and
remove default case so that it becomes compile time error if the list is
not updated.

Details

Provenance
janAuthored on
Sara GolemonCommitted on Mar 15 2013, 4:07 PM
Parents
rOSHDe7c6c0cf7816: s/m_contTargets/m_controlTargets/ in emitter.{cpp,h}
Branches
Unknown
Tags
Unknown
ChangeId
None