]> granicus.if.org Git - clang/commit
Implement the Named Return Value Optimization (NRVO) for Objective-C++
authorDouglas Gregor <dgregor@apple.com>
Tue, 6 Sep 2011 20:33:37 +0000 (20:33 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 6 Sep 2011 20:33:37 +0000 (20:33 +0000)
commitf7603f6ca76aec055cbf1644c89ce0dca9fa2c03
tree7ce6e0b030840bec64f2089ce8109ff75c54717d
parentfacef2ef39f5468068b60da26f9f9049115a361d
Implement the Named Return Value Optimization (NRVO) for Objective-C++
methods. Fixes PR10835 / <rdar://problem/10050178>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139175 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/CodeGenObjCXX/nrvo.mm [new file with mode: 0644]