<div dir="ltr">Merged as r292586.<div><br></div><div>I waited for all of the failing bots to rerun, but I didn't want to break builds all night.</div><div><br></div><div>/Eric</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 19, 2017 at 11:40 PM, Eric Fiselier <span dir="ltr"><<a href="mailto:eric@efcs.ca" target="_blank">eric@efcs.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>This patch addresses issues introduced by r<span style="font-size:12.8px">292564. Specifically it makes `align_val_t.pass.cpp` pass in C++17 even if the system</span></div><div><span style="font-size:12.8px">doesn't support aligned new/delete.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Because r292564 was merged into 4.0, this should be as well.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">@Marshall can you OK this?</span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>/Eric</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 19, 2017 at 11:27 PM, Eric Fiselier via cfe-commits <span dir="ltr"><<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: ericwf<br>
Date: Fri Jan 20 00:27:34 2017<br>
New Revision: 292582<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=292582&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-pr<wbr>oject?rev=292582&view=rev</a><br>
Log:<br>
Still expose std::align_val_t in C++17 even if we don't have aligned new/delete.<br>
<br>
r292564 disabled the aligned new/delete overloads on platforms without<br>
posix_memalign. Unfortunately that patch also disabled the align_val_t<br>
definition in C++17 as well.<br>
<br>
This patch causes align_val_t to be exposed in C++17 regardless<br>
of if we have the new/delete overloads.<br>
<br>
Modified:<br>
libcxx/trunk/include/new<br>
<br>
Modified: libcxx/trunk/include/new<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/new?rev=292582&r1=292581&r2=292582&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-pr<wbr>oject/libcxx/trunk/include/new<wbr>?rev=292582&r1=292581&r2=29258<wbr>2&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- libcxx/trunk/include/new (original)<br>
+++ libcxx/trunk/include/new Fri Jan 20 00:27:34 2017<br>
@@ -145,7 +145,7 @@ public:<br>
<br>
#endif // defined(_LIBCPP_BUILDING_NEW) || (_LIBCPP_STD_VER > 11)<br>
<br>
-#ifndef _LIBCPP_HAS_NO_ALIGNED_ALLOCAT<wbr>ION<br>
+#if !defined(_LIBCPP_HAS_NO_ALIGNE<wbr>D_ALLOCATION) || _LIBCPP_STD_VER > 14<br>
#ifndef _LIBCPP_CXX03_LANG<br>
enum class _LIBCPP_ENUM_VIS align_val_t : size_t { };<br>
#else<br>
<br>
<br>
______________________________<wbr>_________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>