<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/66100>66100</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
libcxx header files: Missing _NOEXCEPT specifier on some allocator functions.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
libc++,
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
edfvogel
</td>
</tr>
</table>
<pre>
It seems there are missing _NOEXCEPT specifiers on certain functions. For example the first:
void deallocate function in ___memory/allocator.h has _NOEXCEPT, but the second does not.
Also, the functions called by these routines (for example __libcpp_deallocate in the header file new) and the functions called by those routines should also be _NOEXCEPT.
This is somewhat important because when a noexcept function calls another function that is not noexcept, it must create a handler in case that called function throws an exception. Adding _NOEXCEPT in the correct place will improve code generation for these routines.
Certainly not a significant issue....
Thank you for your time,
Ed Vogel
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8U0uPuzYQ_zTmMvojYkISDhyy2Y3UQx-HVdVbZOwhuDUe5DF5fPvKkG6ylVopCsJ4fq-ZUcz27BEbUb2J6j1TU-wpNGi6C53RZS2Ze_NTBEYcGGKPAUEFhMEyW3-G0y-_fvxx-PjtE3hEbTuLgYE8aAxRWQ_d5HW05DkHgCMFwJsaRocJCjobOIpyL4p3UewvZA0YVM6RVhG_SsF6OJ1OAw4U7kIeHxco5D30ip8ShDxAO8UZmlGTN2AIGTzFHBaOvWNK12b2f6SBVs6hgfaezhkh0BStRwYhd92L5tPJ2VaP4-lFpfUzWI_KYIDOOgSPVyFrAOXN_xDRKxH3NDkDyjFBi09L-SJ7-f_sLYNlYBrw2qsIdhgpROUjtKjVxAjXHj0o8IQ3jWN8ZpiYGZSn1MLncZxh5oi-ilI-NsIwcQQdMJlU0CtvHIZkVyvGpfBh5wUt0DWxwIJkyae27435PiqPzDSFgDrC6JRGuFrnkqNAl_TJIJzRY1AzcurC9958S-awTJu7z0YUpJm2ndUpGss8YZ7n_4pS-b_gTtOMfKcpQLQDCnl4vfVh4Pe0BctbZprS1GWtMmxWm3pdlbLc1VnfFMas15XS66LoUKut3nambrdVve2wLPU2s40sZFnUK7mq5EbW-U7p7Uqvqk1XVdtdUYh1gYOyLnfuMuQUztmsutlsVkWROdWi43lDpUwTKOTb_JNJr5Qer4vLdFK9Z6FJMD_a6cxiXTjLkZ_A0UaHTUK53V6nlkW5B_j5v9c6bXWaPPjav5flzqbgmj7GMcEIeRTyeLaxn9pc0yDkMdE_Hj_GQH-ijkIeZ9Es5HH2-XcAAAD__4ciikE">