commit | 1c7eed7e6ea2b357aa94581a90018ddbdcb41cbf | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Thu Apr 19 05:34:51 2012 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Thu Apr 19 05:34:51 2012 +0000 |
tree | 6c66435c8227cfbacc07162d7d10ebf0f9c82785 | |
parent | d70d20a361b877d7156291acd1a83b5b1ac2655a [diff] |
In mergeVisibilityWithMin, let an implicit hidden symbol take precedence over an explicit default one. This means that with -fvisibility hidden we now produce a hidden symbol for template <typename T> class DEFAULT foo { void bar() {} }; class zed {}; template class foo<zed>; This matches the behaviour of gcc 4.7. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155102 91177308-0d34-0410-b5e6-96231b3b80d8