Revert "Revert "Revert "Turn off extern templates for most uses.""" am: 02ad8ad921

am: 95f770d2ed

Change-Id: I1930e4182f484fcaf1d796eace8aa47901d49e42
This commit is contained in:
Chih-Hung Hsieh
2018-02-13 09:21:26 +00:00
committed by android-build-merger
6 changed files with 1 additions and 15 deletions

View File

@@ -905,7 +905,7 @@ template <unsigned> struct __static_assert_check {};
#endif
#ifndef _LIBCPP_EXTERN_TEMPLATE
#define _LIBCPP_EXTERN_TEMPLATE(...)
#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__;
#endif
#ifndef _LIBCPP_EXTERN_TEMPLATE2

View File

@@ -7,8 +7,6 @@
//
//===----------------------------------------------------------------------===//
#undef _LIBCPP_EXTERN_TEMPLATE
#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__;
#include "algorithm"
#include "random"
#include "mutex"

View File

@@ -9,9 +9,6 @@
#include "__config"
#undef _LIBCPP_EXTERN_TEMPLATE
#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__;
#include "ios"
#include <stdlib.h>

View File

@@ -7,9 +7,6 @@
//
//===----------------------------------------------------------------------===//
#undef _LIBCPP_EXTERN_TEMPLATE
#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__

View File

@@ -7,9 +7,6 @@
//
//===----------------------------------------------------------------------===//
#undef _LIBCPP_EXTERN_TEMPLATE
#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__;
#include "string"
#include "cstdlib"
#include "cwchar"

View File

@@ -7,9 +7,6 @@
//
//===----------------------------------------------------------------------===//
#undef _LIBCPP_EXTERN_TEMPLATE
#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__;
#include "valarray"
_LIBCPP_BEGIN_NAMESPACE_STD