diff options
author | Nikolas Klauser <n_klauser@apple.com> | 2023-05-23 08:45:52 -0700 |
---|---|---|
committer | Nikolas Klauser <n_klauser@apple.com> | 2023-05-23 13:32:55 -0700 |
commit | b3c9150062dc4264afb4a3d2790f071c1ebe0743 (patch) | |
tree | 226beeb8160b4a75280ba050ea386a68a9dd5e53 /libcxx/include/regex | |
parent | d91f65ea36fa980d82b45392a0664ef60659067f (diff) | |
download | llvm-b3c9150062dc4264afb4a3d2790f071c1ebe0743.zip llvm-b3c9150062dc4264afb4a3d2790f071c1ebe0743.tar.gz llvm-b3c9150062dc4264afb4a3d2790f071c1ebe0743.tar.bz2 |
[libc++] Apply _LIBCPP_EXCLUDE_FROM_EXPLICIT_INSTANTIATION only in classes that we have instantiated externally
To make sure all member functions that require it are marked `_LIBCPP_EXCLUDE_FROM_EXPLICIT_INSTANTIATION` I compared the output of `objdump --syms lib/libc++.1.0.dylib` before and after, ignoring addresses.
Reviewed By: #libc, ldionne
Spies: Mordante, libcxx-commits, ldionne, arichardson, mstorsjo
Differential Revision: https://reviews.llvm.org/D150896
Diffstat (limited to 'libcxx/include/regex')
-rw-r--r-- | libcxx/include/regex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/regex b/libcxx/include/regex index 7b31bf4..7063e4f 100644 --- a/libcxx/include/regex +++ b/libcxx/include/regex @@ -2218,7 +2218,7 @@ class __match_any_but_newline public: typedef _VSTD::__state<_CharT> __state; - _LIBCPP_INLINE_VISIBILITY + _LIBCPP_HIDE_FROM_ABI _LIBCPP_EXCLUDE_FROM_EXPLICIT_INSTANTIATION __match_any_but_newline(__node<_CharT>* __s) : base(__s) {} |