[libcxx-commits] [PATCH] D110994: [libc++] Make test_allocator constexpr-friendly for constexpr string/vector

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 21 07:18:32 PDT 2021


philnik updated this revision to Diff 381255.
philnik added a comment.

Again didn't upload all


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110994/new/

https://reviews.llvm.org/D110994

Files:
  libcxx/test/support/test_allocator.h


Index: libcxx/test/support/test_allocator.h
===================================================================
--- libcxx/test/support/test_allocator.h
+++ libcxx/test/support/test_allocator.h
@@ -410,7 +410,7 @@
     ::new ((void*)p) Tag_X(Ctor_Tag{}, std::forward<Args>(args)...);
   }
 
-  template<typename U>
+  template <typename U>
   void destroy(U* p) {
     p->~U();
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110994.381255.patch
Type: text/x-patch
Size: 383 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211021/9bf8c0de/attachment.bin>


More information about the libcxx-commits mailing list