[PATCH] D17491: Add performance check to flag function parameters of expensive to copy types that can be safely converted to const references.
Felix Berger via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 22 21:01:01 PDT 2016
flx updated the summary for this revision.
flx updated this revision to Diff 51385.
flx marked 5 inline comments as done.
flx added a comment.
After testing the check against a large corpus I was able to remove the unnecessary param index check. But I discovered that the check crashed on value arguments of deleted assignment operators due to the lack of a function body. I added a test case and added a guard to address this.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15148 bytes
Desc: not available
More information about the cfe-commits