Skip to content

Commit a94cec5

Browse files
authored
Revert "[libc++] Remove workaround which allows setting _LIBCPP_OVERRIDABLE_FUNC_VIS externally (#113139)" (#117779)
This reverts commit 2e686d6. See #117571
1 parent 06d24da commit a94cec5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

libcxx/include/__config

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,11 @@ typedef __char32_t char32_t;
402402
# define _LIBCPP_EXPORTED_FROM_ABI _LIBCPP_VISIBILITY("default")
403403
# define _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS _LIBCPP_VISIBILITY("default")
404404
# define _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS
405-
# define _LIBCPP_OVERRIDABLE_FUNC_VIS _LIBCPP_VISIBILITY("default")
405+
406+
// TODO: Make this a proper customization point or remove the option to override it.
407+
# ifndef _LIBCPP_OVERRIDABLE_FUNC_VIS
408+
# define _LIBCPP_OVERRIDABLE_FUNC_VIS _LIBCPP_VISIBILITY("default")
409+
# endif
406410

407411
# if !defined(_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS)
408412
// The inline should be removed once PR32114 is resolved

0 commit comments

Comments
 (0)