[cfe-commits] [Patch] Add Reference bit to VarDecl

Richard Trieu rtrieu at google.com
Fri Jun 8 17:47:13 PDT 2012

On Fri, Jun 8, 2012 at 4:29 PM, John McCall <rjmccall at apple.com> wrote:

> On Jun 8, 2012, at 4:24 PM, Richard Trieu wrote:
> > Add a bit to VarDecl that is set to true when its address is taken or it
> gets passed by non-const reference.
> Just out of curiosity, is this bit set for variables of class type that
> are used as an operand of a trivial copy constructor or copy assignment
> operator?
> John.

No, the bit is not currently set for those uses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120608/3461175d/attachment.html>

More information about the cfe-commits mailing list