[PATCH] D54966: Implement P1007R3 `std::assume_aligned`

Louis Dionne via Phabricator reviews at reviews.llvm.org
Wed Nov 28 09:31:51 PST 2018


ldionne added inline comments.


================
Comment at: include/memory:5594
+#ifdef _LIBCPP_HAS_BUILTIN_ASSUME_ALIGNED
+//    return __builtin_assume_aligned(__p, _Sz);
+    return reinterpret_cast<_Tp*>(__builtin_assume_aligned(__p, _Sz));
----------------
Also, this should probably go.


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

https://reviews.llvm.org/D54966





More information about the libcxx-commits mailing list