[PATCH] D145919: [libc++] Add missing include in exception_ptr.h

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 13 03:46:57 PDT 2023


hans created this revision.
hans added a reviewer: philnik.
hans added a project: libc++.
Herald added a project: All.
hans requested review of this revision.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Windows builds were failing due to missing include for std::addressof after D145095 <https://reviews.llvm.org/D145095>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145919

Files:
  libcxx/include/__exception/exception_ptr.h


Index: libcxx/include/__exception/exception_ptr.h
===================================================================
--- libcxx/include/__exception/exception_ptr.h
+++ libcxx/include/__exception/exception_ptr.h
@@ -11,6 +11,7 @@
 
 #include <__config>
 #include <__exception/operations.h>
+#include <__memory/addressof.h>
 #include <cstddef>
 #include <cstdlib>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145919.504579.patch
Type: text/x-patch
Size: 365 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230313/da6f517e/attachment.bin>


More information about the cfe-commits mailing list