[libcxx] r321663 - Temporarily revert the inlining of 'piecewise_construct' because it is exported from the dylib.

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 2 10:57:47 PST 2018


Author: marshall
Date: Tue Jan  2 10:57:47 2018
New Revision: 321663

URL: http://llvm.org/viewvc/llvm-project?rev=321663&view=rev
Log:
Temporarily revert the inlining of 'piecewise_construct' because it is exported from the dylib.

Modified:
    libcxx/trunk/include/utility

Modified: libcxx/trunk/include/utility
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/utility?rev=321663&r1=321662&r2=321663&view=diff
==============================================================================
--- libcxx/trunk/include/utility (original)
+++ libcxx/trunk/include/utility Tue Jan  2 10:57:47 2018
@@ -296,7 +296,7 @@ struct _LIBCPP_TEMPLATE_VIS piecewise_co
 #if defined(_LIBCPP_CXX03_LANG) || defined(_LIBCPP_BUILDING_UTILITY)
 extern const piecewise_construct_t piecewise_construct;// = piecewise_construct_t();
 #else
-_LIBCPP_INLINE_VAR constexpr piecewise_construct_t piecewise_construct = piecewise_construct_t();
+/* _LIBCPP_INLINE_VAR */ constexpr piecewise_construct_t piecewise_construct = piecewise_construct_t();
 #endif
 
 #if defined(_LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR)




More information about the cfe-commits mailing list