[libcxx] r185468 - Adorn make_unique with visibility and inline attributes
Marshall Clow
mclow.lists at gmail.com
Tue Jul 2 13:06:09 PDT 2013
Author: marshall
Date: Tue Jul 2 15:06:09 2013
New Revision: 185468
URL: http://llvm.org/viewvc/llvm-project?rev=185468&view=rev
Log:
Adorn make_unique with visibility and inline attributes
Modified:
libcxx/trunk/include/memory
Modified: libcxx/trunk/include/memory
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/memory?rev=185468&r1=185467&r2=185468&view=diff
==============================================================================
--- libcxx/trunk/include/memory (original)
+++ libcxx/trunk/include/memory Tue Jul 2 15:06:09 2013
@@ -3104,6 +3104,7 @@ struct __unique_if<_Tp[_Np]>
};
template<class _Tp, class... _Args>
+inline _LIBCPP_INLINE_VISIBILITY
typename __unique_if<_Tp>::__unique_single
make_unique(_Args&&... __args)
{
@@ -3111,6 +3112,7 @@ make_unique(_Args&&... __args)
}
template<class _Tp>
+inline _LIBCPP_INLINE_VISIBILITY
typename __unique_if<_Tp>::__unique_array_unknown_bound
make_unique(size_t __n)
{
More information about the cfe-commits
mailing list