<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 23, 2010, at 2:20 AM, Chandler Carruth wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote">On Wed, Oct 20, 2010 at 5:38 PM, Bill Wendling <span dir="ltr"><<a href="mailto:wendling@apple.com">wendling@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><div><div class="im"><div>On Oct 20, 2010, at 1:44 AM, Chandler Carruth wrote:</div><br><blockquote type="cite"><div>Author: chandlerc<br>Date: Wed Oct 20 03:44:27 2010<br>New Revision: 116920<br>
<br>URL: <a href="http://llvm.org/viewvc/llvm-project?rev=116920&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=116920&view=rev</a><br>Log:<br>Add a comment about ATTRIBUTE_UNUSED to avoid further confusion over when to<br>
use it.<br><br></div></blockquote></div><div>There's no reason not to use this for variables. And it avoids the void-casting hack.</div></div></div></blockquote><div><br></div><div>Chris expressly asked for the void-cast for variables: <a href="http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20100705/032066.html">http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20100705/032066.html</a></div>
<div><br></div><div>The comment I added was intended to help document this preference. I'll happily change it if you change Chris's mind. ;]</div></div></blockquote><div><br></div>Yep, Chandler is right.  I documented this in the CodingStandards.html file in r118863.  Thanks!</div><div><br></div><div>-Chris</div><div><br></div></body></html>