diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-08-15 17:58:56 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-08-15 17:58:56 +0000 |
commit | 98c4e404ca8c524c54b4e7ede97b807355422b53 (patch) | |
tree | 05c7165a0adee330a4576cc952c6fddabb5b254c /src | |
parent | c808961618189e3b731b0f2e4364e46e7c3f767f (diff) |
Revert "Turn off extern templates for most uses."
Turning off explicit template instantiation leads to a pretty
significant build time and code size cost. We're better off dealing
with ABI incompatibility issues that come up in a less heavy handed
way.
This reverts commit r189610.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@215740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src')
-rw-r--r-- | src/algorithm.cpp | 1 | ||||
-rw-r--r-- | src/ios.cpp | 2 | ||||
-rw-r--r-- | src/locale.cpp | 2 | ||||
-rw-r--r-- | src/string.cpp | 2 | ||||
-rw-r--r-- | src/valarray.cpp | 2 |
5 files changed, 0 insertions, 9 deletions
diff --git a/src/algorithm.cpp b/src/algorithm.cpp index 10c4c3312..6d5cf7c0b 100644 --- a/src/algorithm.cpp +++ b/src/algorithm.cpp @@ -7,7 +7,6 @@ // //===----------------------------------------------------------------------===// -#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__; #include "algorithm" #include "random" #include "mutex" diff --git a/src/ios.cpp b/src/ios.cpp index e24139460..260ec7637 100644 --- a/src/ios.cpp +++ b/src/ios.cpp @@ -7,8 +7,6 @@ // //===----------------------------------------------------------------------===// -#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__; - #include "ios" #include "streambuf" #include "istream" diff --git a/src/locale.cpp b/src/locale.cpp index e626528fc..f21e35dd5 100644 --- a/src/locale.cpp +++ b/src/locale.cpp @@ -7,8 +7,6 @@ // //===----------------------------------------------------------------------===// -#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__; - // On Solaris, we need to define something to make the C99 parts of localeconv // visible. #ifdef __sun__ diff --git a/src/string.cpp b/src/string.cpp index fde52129e..fdaad2927 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -7,8 +7,6 @@ // //===----------------------------------------------------------------------===// -#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__; - #include "string" #include "cstdlib" #include "cwchar" diff --git a/src/valarray.cpp b/src/valarray.cpp index e4c9ed024..2d8db52ac 100644 --- a/src/valarray.cpp +++ b/src/valarray.cpp @@ -7,8 +7,6 @@ // //===----------------------------------------------------------------------===// -#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__; - #include "valarray" _LIBCPP_BEGIN_NAMESPACE_STD |