diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-03-11 06:45:39 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-03-11 06:45:39 +0000 |
commit | f9bde287e86551c90202c3fa3893d5db313dfbc1 (patch) | |
tree | 476dd493eaa2d860fefbc10148d44f29aadbadc1 /clang/lib/Basic/Targets.cpp | |
parent | 92e701b16f42c89b4a43319469b53b5518861f7d (diff) | |
download | bcm5719-llvm-f9bde287e86551c90202c3fa3893d5db313dfbc1.tar.gz bcm5719-llvm-f9bde287e86551c90202c3fa3893d5db313dfbc1.zip |
Sema: Properly track mangling number/name for linkage for using decls
Using declarations which are aliases to struct types have their name
used as the struct type's name for linkage purposes. Otherwise, make
sure to give an anonymous struct defined inside a using declaration a
mangling number to disambiguate it from other anonymous structs in the
same context.
This fixes PR22809.
llvm-svn: 231909
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions