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

Richard Trieu rtrieu at google.com
Fri Jun 8 16:24:11 PDT 2012

Add a bit to VarDecl that is set to true when its address is taken or it
gets passed by non-const reference.

This is all the code for the reference bit taken from my loop analysis
patch so a separate review can be done on it.  Doug mentioned that this bit
may be useful outside of my warning, so I'd like to know if there's any
changes to this to make it better for other uses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120608/6f72f129/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VarDecl-Reference.patch
Type: application/octet-stream
Size: 2610 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120608/6f72f129/attachment.obj>

More information about the cfe-commits mailing list