summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-03-11 06:45:39 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-03-11 06:45:39 +0000
commitf9bde287e86551c90202c3fa3893d5db313dfbc1 (patch)
tree476dd493eaa2d860fefbc10148d44f29aadbadc1 /clang/lib/Basic/Targets.cpp
parent92e701b16f42c89b4a43319469b53b5518861f7d (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud