diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2013-10-23 20:52:43 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2013-10-23 20:52:43 +0000 |
| commit | 885d8bf8d06ddaf79ffe45a96aaa42621db44241 (patch) | |
| tree | e3c58d0a7a0c496d5c5e9a253c802581ab247510 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 8484375b0fc442c704b3ec06e2e795d88591606f (diff) | |
| download | clang-885d8bf8d06ddaf79ffe45a96aaa42621db44241.tar.gz clang-885d8bf8d06ddaf79ffe45a96aaa42621db44241.tar.bz2 clang-885d8bf8d06ddaf79ffe45a96aaa42621db44241.tar.xz | |
AST: Mangle fields in anonymous structs/unions
The Itanium mangler couldn't cope with mangling an IndirectFieldDecl.
Instead, mangle the field the IndirectFieldDecl refers to.
Further, give IndirectFieldDecl no linkage just like FieldDecl.
N.B. Decl.cpp:getLVForNamespaceScopeDecl tried to calculate linkage for
data members of anonymous structs/unions. However, this seems
impossible so turn it into an assertion.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193269 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
