commit | cb5d2d0647fdab2e36c85b417e03bf18916ce10c | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Fri Jun 10 21:53:06 2011 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Fri Jun 10 21:53:06 2011 +0000 |
tree | d94c1c668d4ad90082203c945faf6848e3f4c0f7 | |
parent | 146480922cfd80b1ca4b022bf242481b3899c62b [diff] |
PR10120: Make CodeGenModule::getVTableLinkage use NamedDecl::getLinkage to determine whether the vtable should be externally visible, instead of a rough approximation of it which messes up with templates. While I'm here, zap the other user of isInAnonymousNamespace outside of Decl.cpp. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132861 91177308-0d34-0410-b5e6-96231b3b80d8