aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/valarray.cpp
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2023-06-14 10:17:50 -0700
committerNikolas Klauser <nikolasklauser@berlin.de>2023-06-15 08:56:45 -0700
commitf1ea0b11ca03d0f8b5785b7ec92d2eb673eeb4b9 (patch)
treea339a4dfe61a23e0645c626c28d317b525c9fcfc /libcxx/src/valarray.cpp
parent009af3fcd78378662891938fce96d6be17f0040c (diff)
downloadllvm-f1ea0b11ca03d0f8b5785b7ec92d2eb673eeb4b9.zip
llvm-f1ea0b11ca03d0f8b5785b7ec92d2eb673eeb4b9.tar.gz
llvm-f1ea0b11ca03d0f8b5785b7ec92d2eb673eeb4b9.tar.bz2
[libc++] Merge _LIBCPP_FUNC_VIS, _LIBCPP_TYPE_VIS and _LIBCPP_EXCEPTION_ABI into _LIBCPP_EXPORTED_FROM_ABI
These macros are always defined identically, so we can simplify the code a bit by merging them. Reviewed By: ldionne, #libc Spies: libcxx-commits, krytarowski, smeenai Differential Revision: https://reviews.llvm.org/D152652
Diffstat (limited to 'libcxx/src/valarray.cpp')
-rw-r--r--libcxx/src/valarray.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/valarray.cpp b/libcxx/src/valarray.cpp
index 5d63bc1..f377e0f 100644
--- a/libcxx/src/valarray.cpp
+++ b/libcxx/src/valarray.cpp
@@ -12,8 +12,8 @@ _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 _LIBCPP_FUNC_VIS valarray<size_t>::valarray(size_t);
-template _LIBCPP_FUNC_VIS valarray<size_t>::~valarray();
+template _LIBCPP_EXPORTED_FROM_ABI valarray<size_t>::valarray(size_t);
+template _LIBCPP_EXPORTED_FROM_ABI valarray<size_t>::~valarray();
#endif
template void valarray<size_t>::resize(size_t, size_t);