[llvm] r220394 - Use auto iteration in lib/Transforms/Scalar/SampleProfile.cpp. No functional changes.

Diego Novillo dnovillo at google.com
Wed Oct 22 10:33:05 PDT 2014


On Wed, Oct 22, 2014 at 1:25 PM, David Blaikie <dblaikie at gmail.com> wrote:

>
> Nope - the address of a reference is the thing the reference refers to.
> The reference itself has no storage as far as the language is concerned
> (there's no such thing as a "pointer to reference" - you just get a pointer
> to the thing the reference refers to).
>

D'oh. I missed the '&' in the loop header.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141022/a20fb606/attachment.html>


More information about the llvm-commits mailing list