summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-25 22:24:25 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-25 22:24:25 +0000
commitf73b282bf0391374c8dbf71d81ea5541cb3e1a74 (patch)
tree080e5b3ffed95e73306fb450368f937abb6f4ed2 /clang/lib/CodeGen/CodeGenModule.cpp
parente6929ffc21fdb77941cfa48fd3bb0f719adf76fe (diff)
downloadbcm5719-llvm-f73b282bf0391374c8dbf71d81ea5541cb3e1a74.tar.gz
bcm5719-llvm-f73b282bf0391374c8dbf71d81ea5541cb3e1a74.zip
Implement the rules in C++ [basic.link] and C99 6.2.2 for computing
the linkage of a declaration. Switch the lame (and completely wrong) NamedDecl::hasLinkage() over to using the new NamedDecl::getLinkage(), along with the "can this declaration be a template argument?" check that started all of this. Fixes -fsyntax-only for PR5597. llvm-svn: 89891
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud