You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just realized that it would be possible to replace this state enum with a single `IRBuilder* currBuilder` field that is either `&outlinedBuilder`, `&existingBuilder`, or `nullptr`. `getCurrentState` would simply set `currBuilder` to the correct value and we wouldn't need to worry about separately computing the right `IRBuilder` to use.
Up to you whether you want to do this, since the explicit state enum is slightly more self-documenting.
ashleynh
changed the title
Consider replacing Outlining state enum with a single IRBuilder* currBuilder field
[Outlining] Consider replacing state enum with a single IRBuilder* currBuilder field
Nov 13, 2023
Up to you whether you want to do this, since the explicit state enum is slightly more self-documenting.
Originally posted by @tlively in #6110 (comment)
The text was updated successfully, but these errors were encountered: