aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/regex
diff options
context:
space:
mode:
authorNikolas Klauser <n_klauser@apple.com>2023-05-23 08:45:52 -0700
committerNikolas Klauser <n_klauser@apple.com>2023-05-23 13:32:55 -0700
commitb3c9150062dc4264afb4a3d2790f071c1ebe0743 (patch)
tree226beeb8160b4a75280ba050ea386a68a9dd5e53 /libcxx/include/regex
parentd91f65ea36fa980d82b45392a0664ef60659067f (diff)
downloadllvm-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/regex2
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) {}