Rafael Espindola
0b79046c5c
Fix the visibility of methods of explicit template instantiation definition
...
when using -fvisibility-inlines-hidden. This matches gcc's behavior and
documentation.
Fixes PR11642.
llvm-svn: 147295
2011-12-27 21:15:28 +00:00
Eli Friedman
e2a79e9ce8
Fix a couple more tests with ARM ABI.
...
llvm-svn: 133073
2011-06-15 18:37:44 +00:00
John McCall
2faf32c4fd
Treat visibility on an enclosing namespace as a non-explicit source of
...
visibility. Fixes PR8713.
I've disabled a test which was testing that you can #pragma pop visibility
to get out of a namespace's visibility attribute. We should probably just
diagnose that as an error unless it's instrumental to someone's system
headers.
llvm-svn: 121459
2010-12-10 02:59:44 +00:00
John McCall
e6e622e789
Only apply -fvisibility-inlines-hidden to definitions. Apparently
...
isInlined() just gives meaningless results for non-definitions.
Fixes rdar://problem/8614470
llvm-svn: 117887
2010-11-01 01:29:57 +00:00
John McCall
62b6862c5e
Don't apply -fvisibility-inlines-hidden to extern templates.
...
Part 2 of rdar://problem/8595231
llvm-svn: 117567
2010-10-28 18:10:36 +00:00
Douglas Gregor
0832963acd
Implement -fvisibility-inlines-hidden. <rdar://problem/7819834>
...
llvm-svn: 106003
2010-06-15 17:05:35 +00:00