[PATCH] Mangling of member-expressions involving anonymous unions.

Tomasz Miąsko tomasz.miasko at gmail.com
Sun Oct 26 15:01:14 PDT 2014


Hi rsmith,

When mangling member-expressions, mangle only access to first named member,
ignoring unnamed ones in anonymous unions. This fixes crash reported in bug
report 15542, and results in behaviour consistent with GCC.

http://reviews.llvm.org/D5997

Files:
  lib/AST/ItaniumMangle.cpp
  test/CodeGenCXX/mangle-exprs.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5997.15470.patch
Type: text/x-patch
Size: 1925 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141026/3c661168/attachment.bin>


More information about the cfe-commits mailing list