[llvm] r174240 - This patch makes "&Cls::purevfn" not an odr use. This isn't what the standard

Nick Lewycky nlewycky at google.com
Fri Feb 1 16:28:41 PST 2013


On 1 February 2013 16:22, Nick Lewycky <nicholas at mxc.ca> wrote:

> Author: nicholas
> Date: Fri Feb  1 18:22:37 2013
> New Revision: 174240
>
> URL: http://llvm.org/viewvc/llvm-project?rev=174240&view=rev
> Log:
> This patch makes "&Cls::purevfn" not an odr use. This isn't what the
> standard
> says, but that's a defect (to be filed). "Cls::purevfn()" is still an odr
> use.
>
> Also fixes a bug in the previous patch that caused us to not mark the
> function
> referenced just because we didn't want to mark it odr used.
>
> Modified:
>     llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp
>

Obviously this was a bad commit. Reverted in r174241. Sorry!

Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130201/4ece3535/attachment.html>


More information about the llvm-commits mailing list