summaryrefslogtreecommitdiffstats
path: root/libcxx/include/ext/__hash
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2013-03-06 23:30:19 +0000
committerHoward Hinnant <hhinnant@apple.com>2013-03-06 23:30:19 +0000
commit6e41256f6803ae236c51748c1b3472443b14c639 (patch)
tree230d9e55d39e9465389ce1e046b0958621c1169d /libcxx/include/ext/__hash
parent084fad6a51338e5a141c7f7b3b58d5050692c992 (diff)
downloadbcm5719-llvm-6e41256f6803ae236c51748c1b3472443b14c639.tar.gz
bcm5719-llvm-6e41256f6803ae236c51748c1b3472443b14c639.zip
No functionality change at this time. I've split _LIBCPP_VISIBLE up into two flags: _LIBCPP_TYPE_VIS and _LIBCPP_FUNC_VIS. This is in preparation for taking advantage of clang's new __type_visibility__ attribute.
llvm-svn: 176593
Diffstat (limited to 'libcxx/include/ext/__hash')
-rw-r--r--libcxx/include/ext/__hash6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/include/ext/__hash b/libcxx/include/ext/__hash
index 21500e894dc..f6ecfe3605c 100644
--- a/libcxx/include/ext/__hash
+++ b/libcxx/include/ext/__hash
@@ -19,10 +19,10 @@
namespace __gnu_cxx {
using namespace std;
-template <typename T> struct _LIBCPP_VISIBLE hash : public std::hash<T>
+template <typename T> struct _LIBCPP_TYPE_VIS hash : public std::hash<T>
{ };
-template <> struct _LIBCPP_VISIBLE hash<const char*>
+template <> struct _LIBCPP_TYPE_VIS hash<const char*>
: public unary_function<const char*, size_t>
{
_LIBCPP_INLINE_VISIBILITY
@@ -32,7 +32,7 @@ template <> struct _LIBCPP_VISIBLE hash<const char*>
}
};
-template <> struct _LIBCPP_VISIBLE hash<char *>
+template <> struct _LIBCPP_TYPE_VIS hash<char *>
: public unary_function<char*, size_t>
{
_LIBCPP_INLINE_VISIBILITY
OpenPOWER on IntegriCloud