summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-05-13 00:12:11 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-05-13 00:12:11 +0000
commit181e3ecc0907ae0103586a9f4db52241995a8267 (patch)
tree13bc622533688becae4d9d241c31698586c577f7 /lib/CodeGen/CodeGenFunction.cpp
parent3c5f4b649f7a8ed51f9291c494a1b6e43f69d386 (diff)
downloadclang-181e3ecc0907ae0103586a9f4db52241995a8267.tar.gz
clang-181e3ecc0907ae0103586a9f4db52241995a8267.tar.bz2
clang-181e3ecc0907ae0103586a9f4db52241995a8267.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181677 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions