summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/nrvo.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Attempt to satisfy Release-Asserts buildDouglas Gregor2010-05-151-3/+0
| | | | llvm-svn: 103879
* When applying the named return value optimization, we still need toDouglas Gregor2010-05-151-0/+13
| | | | | | | destroy the variable along the exceptional edge; it's only during normal execution that we avoid destroying this variable. llvm-svn: 103872
* Implement a simple form of the C++ named return value optimization forDouglas Gregor2010-05-151-0/+55
return statements. We perform NRVO only when all of the return statements in the function return the same variable. Fixes some link failures in Boost.Interprocess (which is relying on NRVO), and probably improves performance for some C++ applications. llvm-svn: 103867
OpenPOWER on IntegriCloud