[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:17:06 PDT 2021


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

Factored out formatting to D112219 <https://reviews.llvm.org/D112219>


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.381254.patch
Type: text/x-patch
Size: 383 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211021/d4697127/attachment.bin>


More information about the libcxx-commits mailing list