On 2016-04-28 10:48 AM, Jed Davis wrote: > Kyle Huey <m...@kylehuey.com> writes: > >> Can we catch this pattern with a compiler somehow? >> >> Foo foo; >> foo.x = thing; >> DoBar(mozilla::Move(foo)); >> if (foo.x) { /* do stuff */ } > > https://bugzilla.mozilla.org/show_bug.cgi?id=1186706 > ("Consider static analysis for Move semantics") > > There are patches on the bug, but it looks like they needed a little > more work to be landable.
Oh shoot, it looks like I just need to be better at reviewing. :/ _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform