[cfe-commits] [Patch] Mark pass-by-reference as uninitialized variable use on initialization

Richard Trieu rtrieu at google.com
Mon Aug 6 15:29:33 PDT 2012


Modify the self-reference visitor to mark pass-by-reference to function
calls as uninitialized use.  This will warn on code such as:

const string Foo = "prefix" + Foo + "suffix";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120806/5f35d02a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uninitialized-reference.patch
Type: application/octet-stream
Size: 3443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120806/5f35d02a/attachment.obj>


More information about the cfe-commits mailing list