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

John McCall rjmccall at apple.com
Fri Feb 1 16:31:02 PST 2013


On Feb 1, 2013, at 4:30 PM, John McCall <rjmccall at apple.com> wrote:

> On Feb 1, 2013, at 4:22 PM, 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.
> 
> This commit message does not seem to apply to your change to:
> 
>>   llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp

Nevermind, you caught it!  Sorry for the noise.

John.



More information about the llvm-commits mailing list