components: force relative ordering of unsequenced statements
In ``` void foo(std::unique_ptr<Bar> x) { x->run(std::move(x)); } ``` The order in which `x->run` is 'evaluated' is unsequenced with the `move` out of `x` into a param. Force the intended order here by grabbing the intended pointer in a prior statement. Bug: None Change-Id: Iab0af546c6f0640dfc6977256d7a6a55277dbbf0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2202971Reviewed-by:Rachel Blum <groby@chromium.org> Commit-Queue: George Burgess <gbiv@chromium.org> Cr-Commit-Position: refs/heads/master@{#778967}
Showing
Please register or sign in to comment