I asked Richard about Sema vs CodeGen before starting a fix, he said it wasn't worth sticking it in Sema.<br><br><div>On Thu Feb 20 2014 at 11:55:51 AM, Reid Kleckner <<a href="mailto:rnk@google.com">rnk@google.com</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
  IMO this should be a diagnostic in Sema, not CodeGen.  It will have to be a special case for the MS C++ ABI, but that's life.<br>
<br>
<a href="http://llvm-reviews.chandlerc.com/D2842" target="_blank">http://llvm-reviews.chandlerc.<u></u>com/D2842</a><br>
</blockquote>