[Sema] Emit correct warning when copy-elision is not possible.
If we're returning a function parameter, copy elision isn't possible, so we now warn for redundant move. PR: 23819 Differential Revision: http://reviews.llvm.org/D11305 llvm-svn: 242600
Loading
Please register or sign in to comment