From 1147845301c03308e3419b89c28c77bb6917fe04 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Tue, 20 Aug 2019 20:51:16 +0000 Subject: Vendor import of stripped libc++ trunk r366426 (just before the release_90 branch point): https://llvm.org/svn/llvm-project/libcxx/trunk@366426 --- src/valarray.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/valarray.cpp') 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::valarray(size_t); template valarray::~valarray(); +#endif + template void valarray::resize(size_t, size_t); void -- cgit v1.2.3