We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c0ffae commit f76dd14Copy full SHA for f76dd14
libcxx/src/include/overridable_function.h
@@ -70,7 +70,7 @@ _LIBCPP_END_NAMESPACE_STD
70
[[gnu::used]] static type symbol arglist __asm__("_" _LIBCPP_TOSTRING(symbol)); \
71
__asm__(".globl _" _LIBCPP_TOSTRING(symbol)); \
72
__asm__(".weak_definition _" _LIBCPP_TOSTRING(symbol)); \
73
- extern type name arglist __attribute__((weak_import)); \
+ [[clang::weak_import]] extern type name arglist; \
74
_LIBCPP_BEGIN_NAMESPACE_STD \
75
template <> \
76
inline bool __is_function_overridden<static_cast<type(*) arglist>(name)>() { \
0 commit comments