<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/154394>154394</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
New __ptrauth types are wrongly reported as __is_bitwise_cloneable
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
halbi2
</td>
</tr>
</table>
<pre>
```
struct S1 {
int * __ptrauth(1,1,50) p_;
};
static_assert(!__is_bitwise_cloneable(S1));
```
This test case fails. I apologise for missing this trait at the time that I filed #137473 and #137474.
The purpose of `__is_bitwise_cloneable` is not clear, libc++ does not use it, but ptrauth types are surely not bitwise copyable.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx0Uk1vo0AM_TXmYhUN5iscOCStIvWyl-4dDeDArCYMGptG-fcr0kjtYVcyYmb87PdsPSvipoW5hfIE5VtiN51DbGfre0dJH8Z7C5V5hjmKxm1Q_MgQ6hOYI6JbFIGO2HWrxr0a6JABve5faYAaXDvIdyzUb18HUatu6KwIRwU6AGVd56Trnd6ccDf4sLDtPQMdPjKgZo-vFj-kgDn-np2gsigOVhgv1nlJ8R3tGnyY3P4UIl6diFsm1Ac6WqdoFXVmVHdl1NkqvuPFeR4RKM_yuqhztMv3rUgfZIzrFtcgjOGCUJn_iK4MOsElKA6ebQR6Re_6AegEdMIx8FdyE0ane7bfFJ_LQ72vLGgjo2yR_f0BfXLgENb7TpEmY5uPTd7YhNusLsuKyiIrkrmt6rGpq9yUVZk1hcmKy4XGsWysueRFZThxLRkqzSFrsrrI8yLNez4MVNmxbDhreobC8NU6n3r_eU1DnBInsnGblUXeFIm3PXt5uIVo4Rs-skC0mye2e9FLv00ChfFOVL7bqFPP7S--fVvlx7S3GJbJ3zHyGqLyiFbw3_tNtujbWXUVyI9AZ6Dz5HTe-nQIV6DzTvj8vawx_OFBgc4PmQJ0fs7x2dLfAAAA__9x3fLo">