This patch fixes forbidden uses of Twine. It should only be used as an intermediary value, but never stored.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Sorry for sending this in another patch. I double checked the lld tree and now I think I covered all bad cases of Twine. Could you please commit it?
Comment Actions
Is there some C++ language feature we can use to mark the Twine class in a way that causes a warning/error on these incorrect usages?