[PATCH] D28211: typeinfo: provide a destructor for type_info

Saleem Abdulrasool via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 1 14:34:57 PST 2017


compnerd created this revision.
compnerd added reviewers: EricWF, mclow.lists.
compnerd added subscribers: smeenai, cfe-commits.
compnerd set the repository for this revision to rL LLVM.

When building without libc++abi and libcxxrt, provide the definition for
the std::type_info destructor.


Repository:
  rL LLVM

https://reviews.llvm.org/D28211

Files:
  src/typeinfo.cpp


Index: src/typeinfo.cpp
===================================================================
--- src/typeinfo.cpp
+++ src/typeinfo.cpp
@@ -17,6 +17,10 @@

 #if !defined(LIBCXXRT) && !defined(_LIBCPPABI_VERSION)

+std::type_info::~type_info()
+{
+}
+
 std::bad_cast::bad_cast() _NOEXCEPT
 {
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28211.82789.patch
Type: text/x-patch
Size: 292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170101/21cee1ba/attachment.bin>


More information about the cfe-commits mailing list