<div class="gmail_quote">On Wed, Nov 9, 2011 at 10:35 AM, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com">clattner@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 class="im"><br><div><div>On Nov 9, 2011, at 2:58 AM, Nick Lewycky wrote:</div><br><blockquote type="cite"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><br>
For one example, for enums clang will emit the names for all of the enum<span> </span><br>cases. GCC only emits the ones that are used.</span></blockquote></div><br></div><div>Is this a clang bug, or a feature?</div></div>
</blockquote><div><br></div><div>I've argued for enums, it's a feature.</div><div><br></div><div>Nick is tracking other cases that are much more likely bugs. </div></div>