<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Mar 1, 2014 at 10:33 PM, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com" target="_blank">clattner@apple.com</a>></span> wrote:<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>This rule was specifically about brokenness with some version of MSVC. That version (I have no idea which, or if it still does that) mangled classes and structs differently. If this isn't the case for the currently supported version of MSVC, we should definitely remove this guideline.</div>
<span class="HOEnZb"><font color="#888888"><div></div></font></span></div></blockquote></div><br></div><div class="gmail_extra">MSVC still mangles the tag into the type, making the manglings for class and struct differ. We even have code for this in MicrosoftMangle.cpp. The consequence is that you have to use the right tag when you forward declare something, which we can spot with -Wmismatched-tags. I don't think this is a very big deal, and we can probably remove the rule.</div>
</div>