[PATCH] D47067: Update NRVO logic to support early return

Arthur O'Dwyer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 25 10:50:07 PDT 2018


Quuxplusone added a comment.

Just commenting to say that this LGTM and I have no further nitpicks.  I have verified that I cannot detect any change in the behavior of `-Wpessimizing-move` or `-Wreturn-std-move` due to this change (and I //can// successfully detect the additional copy-elision due to this change, hooray).


Repository:
  rC Clang

https://reviews.llvm.org/D47067





More information about the cfe-commits mailing list