[libcxx-commits] [libcxx] ab39841 - [libc++][modules] Fixes RTTI build.
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 16 11:17:04 PST 2024
Author: Mark de Wever
Date: 2024-01-16T20:16:29+01:00
New Revision: ab398416a7932d9b85e216353b7c847189c1a597
URL: https://github.com/llvm/llvm-project/commit/ab398416a7932d9b85e216353b7c847189c1a597
DIFF: https://github.com/llvm/llvm-project/commit/ab398416a7932d9b85e216353b7c847189c1a597.diff
LOG: [libc++][modules] Fixes RTTI build.
This was reviewed in https://github.com/llvm/llvm-project/pull/76246
Added:
Modified:
libcxx/modules/std/memory.inc
Removed:
################################################################################
diff --git a/libcxx/modules/std/memory.inc b/libcxx/modules/std/memory.inc
index fba2461732c1b9..ef89845457fbb9 100644
--- a/libcxx/modules/std/memory.inc
+++ b/libcxx/modules/std/memory.inc
@@ -156,7 +156,9 @@ export namespace std {
using std::reinterpret_pointer_cast;
using std::static_pointer_cast;
+#ifndef _LIBCPP_HAS_NO_RTTI
using std::get_deleter;
+#endif // _LIBCPP_HAS_NO_RTTI
// [util.smartptr.shared.io], shared_ptr I/O
More information about the libcxx-commits
mailing list