diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-13 00:12:11 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-13 00:12:11 +0000 |
commit | 3ae00052cd260a7ed753ec2e1338d22119d25595 (patch) | |
tree | d9bc7cf2ffc60eba2f2ccaf8d6c08f5d2a9d908f /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 0e4676e1f53b7a463cc4c4e9af87ee91c86d2a62 (diff) | |
download | bcm5719-llvm-3ae00052cd260a7ed753ec2e1338d22119d25595.tar.gz bcm5719-llvm-3ae00052cd260a7ed753ec2e1338d22119d25595.zip |
Cleanup handling of UniqueExternalLinkage.
This patch renames getLinkage to getLinkageInternal. Only code that
needs to handle UniqueExternalLinkage specially should call this.
Linkage, as defined in the c++ standard, is provided by
getFormalLinkage. It maps UniqueExternalLinkage to ExternalLinkage.
Most places in the compiler actually want isExternallyVisible, which
handles UniqueExternalLinkage as internal.
llvm-svn: 181677
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions