[cfe-dev] Why do "Uses" always point to self?
Yaron Keren
yaron.keren at gmail.com
Thu May 1 00:02:30 PDT 2014
http://reviews.llvm.org/D3582
2014-04-30 21:41 GMT+03:00 Rafael EspĂndola <rafael.espindola at gmail.com>:
> On 30 April 2014 10:42, Yaron Keren <yaron.keren at gmail.com> wrote:
> > r203364
> >
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140303/207915.html
> >
> > The for code could be ranged
> >
> > for (llvm::user i : F->users())
> > if (Instruction *Inst = dyn_cast<Instruction>(i)) {
> >
> > and the next code segment could be
> >
> > for (llvm::use i : pi->uses()) {
> >
>
> Nice. That code lives in docs/ProgrammersManual.rst. Could you send a
> patch to llvm-commits?
>
> Thanks,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140501/bf81c6a0/attachment.html>
More information about the cfe-dev
mailing list