aboutsummaryrefslogtreecommitdiffstats
path: root/src/valarray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/valarray.cpp')
-rw-r--r--src/valarray.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/valarray.cpp b/src/valarray.cpp
index 2d8db52ac36b..7bf0b4175889 100644
--- a/src/valarray.cpp
+++ b/src/valarray.cpp
@@ -1,9 +1,8 @@
//===------------------------ valarray.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.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
@@ -11,8 +10,12 @@
_LIBCPP_BEGIN_NAMESPACE_STD
+// These two symbols are part of the v1 ABI but not part of the >=v2 ABI.
+#if _LIBCPP_ABI_VERSION == 1
template valarray<size_t>::valarray(size_t);
template valarray<size_t>::~valarray();
+#endif
+
template void valarray<size_t>::resize(size_t, size_t);
void