<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Nov 13, 2014 at 10:36 AM, Tomasz Miąsko <span dir="ltr"><<a href="mailto:tomasz.miasko@gmail.com" target="_blank">tomasz.miasko@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Indeed, something like "if (!member) return mangleExpression(base)", would be<br>
really nice, but the problem is that we need a member name from outermost<br>
MemberExpr generated from IndirectFieldDecl, and isArrow from innermost<br>
MemberExpr generated from IndirectFieldDecl.<br></blockquote><div><br></div><div>Good point =)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I updated the code to skip over all bases whose types are anonymous structs or<br>
unions, though I will mention that first version that relied on empty<br>
identifiers would also work.</blockquote><div><br></div><div>Thanks, LGTM. Do you have an SVN account, or do you need someone to commit this for you?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
<a href="http://reviews.llvm.org/D5997" target="_blank">http://reviews.llvm.org/D5997</a><br>
<br>
Files:<br>
  lib/AST/ItaniumMangle.cpp<br>
  test/CodeGenCXX/mangle-exprs.cpp<br>
</div></div></blockquote></div><br></div></div>