summaryrefslogtreecommitdiffstats
path: root/libcxx/src/vector.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-06-15 01:53:12 +0000
committerEric Fiselier <eric@efcs.ca>2017-06-15 01:53:12 +0000
commit6af1b7d95c25ca744cb6544b076195614d3bf566 (patch)
tree717d7d9cb5543a5fe472ec98e98b1542609b70ae /libcxx/src/vector.cpp
parent244b6bb6cb9e48c9ead988661b5f2416a75f64af (diff)
downloadbcm5719-llvm-6af1b7d95c25ca744cb6544b076195614d3bf566.tar.gz
bcm5719-llvm-6af1b7d95c25ca744cb6544b076195614d3bf566.zip
Move external instantiation for __vector_base_common to vector.cpp
Previously the explicit instantiation for this was in locale.cpp, but that didn't make much sense. This patch creates a new vector.cpp source file to contain the explicit instantiation. llvm-svn: 305442
Diffstat (limited to 'libcxx/src/vector.cpp')
-rw-r--r--libcxx/src/vector.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/libcxx/src/vector.cpp b/libcxx/src/vector.cpp
new file mode 100644
index 00000000000..300adaed5f4
--- /dev/null
+++ b/libcxx/src/vector.cpp
@@ -0,0 +1,16 @@
+//===------------------------- vector.cpp ---------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "vector"
+
+_LIBCPP_BEGIN_NAMESPACE_STD
+
+template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS __vector_base_common<true>;
+
+_LIBCPP_END_NAMESPACE_STD
OpenPOWER on IntegriCloud