[PATCH] Mangling of anonymous unions

Evgeny Astigeevich evgeny.astigeevich at arm.com
Thu Nov 27 03:16:58 PST 2014


Cleaned up code:
- no need of 'if' checks as VarDecl without an identifier should be an anonymous union declaration.
- created function 'findAnonymousUnionVarDeclName'

http://reviews.llvm.org/D6295

Files:
  include/clang/AST/Decl.h
  lib/AST/Decl.cpp
  lib/AST/ItaniumCXXABI.cpp
  lib/AST/ItaniumMangle.cpp
  test/CodeGenCXX/mangle-local-anonymous-unions.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6295.16676.patch
Type: text/x-patch
Size: 7419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141127/88a75a0c/attachment.bin>


More information about the cfe-commits mailing list