<div>Extend the self-reference warning to catch when a constructor references itself upon initialization, such as using itself within its own copy constructor.</div><div><br></div><div>struct S {};</div><div>S s(s);</div><div>
<br></div><div>Patch attached and available at:</div><div><br></div><a href="http://codereview.appspot.com/4934041/">http://codereview.appspot.com/4934041/</a>