<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/85223>85223</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[BitInt] Expose a _BitInt literal suffix in C++
</td>
</tr>
<tr>
<th>Labels</th>
<td>
good first issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
erichkeane
</td>
</tr>
</table>
<pre>
The C literal suffix for _BitInt is 'wb' or 'WB' (also allows a 'u' modifier for unsigned). We expose _BitInt in C++ as an extension, but do NOT expose the suffix, as it is one that the C++ committee might choose to use something else.
We should NOT do a single underscore, as that is reserved for the user defined literals (https://eel.is/c++draft/usrlit.suffix).
However, that standardeeze allows double-underscores for use by the implementation, so we could implement this with double-underscores without problem!
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsU8Fu2zAM_Rr5QtSwFbuJDz407YLtsl0K9DjIFm1rk8VAlJp2Xz9ISRp02MUW9KDHR75HxWxmh9iLdi_ap0LFsJDv0Ztx-Y3KYTGQfu-fF4RHsCagVxY4TpN5g4k8_Nyb8M0FMAxCbk-DkFsgn84v-3QWcqcsEyhr6cSgEhITsJI2k0GfWaLLKrSQXQnwgoBvR2K8sTt4FHIv5B4Ug3KAbwEdG3JCPsIQA2iC7z-er-_CgheRCVcMJisklyAVMn4lHGldTQiIsJp5CTAulCkIIiMwrRgW42ZAy1iK6klUD-fvCwIvFK3OlTWBAjZutgjRafQ8ksdL-VzUMHhk9K-oc9NJRGT0oHEyDvV1vGmSuyWEI4vNg5AHIQ-ItjQs5GE8i9ZeTUHIQ2RvTSivrXaf9H2lE76iTxJyfQ7KaeU14h-8-qEpDhbvboL57AcjDO9ZoVmPFld0QYXLuJnghDDmzj9QCIthOJmw_I8z3VMMcPQ0WFyFrAvdb3S36VSBfb2tq0bKqmuKpd91Y9vVbXsvt91QbeuhmXbDsKvbqZsa1arC9LKSTbWpm3pTN21Tdt1QD912vB9H1VTbSjQVrsrY0trXtSQ_F4Y5Yr9rpdwUVg1oOcddyplIw2Q8J3c4opAyLYHv09O7Ic4smsoaDnwjCybYvC7nbIr2Cb6cU6c-8vrPotziW0Rv-8_eziYscShHWoU8pCqX393R0y8ck81ZW7I_t_A3AAD__yMhOV4">