summaryrefslogtreecommitdiffstats
path: root/clang/examples
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-10-23 20:52:43 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-10-23 20:52:43 +0000
commit0eb8bbdeab4eee10abf9309c56a201cfc5e1edbe (patch)
treef5e7348788af6d71e4af7ae232d9dce690bd4ce4 /clang/examples
parent3197b25b27ab1f9b74321e4841f0d8e5fd95f1f6 (diff)
downloadbcm5719-llvm-0eb8bbdeab4eee10abf9309c56a201cfc5e1edbe.tar.gz
bcm5719-llvm-0eb8bbdeab4eee10abf9309c56a201cfc5e1edbe.zip
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. llvm-svn: 193269
Diffstat (limited to 'clang/examples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud