<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/107868>107868</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Clang] [CodeComplete] Cannot complete C++20 keywords
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
16bit-ykiko
</td>
</tr>
</table>
<pre>
The issue caught my attention a long time ago, but I don't expected that no one had reported it. The `SemaComplete` won't complete C++20 keywords(concept, co_await, co_return, ...).
if I type `con^`, `SemaComplete` only returns `const` and `contexpr` as the two candidates, in the namespace context. This can be verified by the `code-complete-at` command.
example link: https://godbolt.org/z/1M1f4nn8f
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8UsGSmzoQ_BpxmTIly4DhwGHXfq7awzu9d08N0gCKhUShYb3O16eEvUkqlcoFJM10t6bVGKMdPFEryldRnjNceQxLu686y7v71V5D1gVzb_8fCWyMK4HGdRgZpjsgM3m2wQOCC34AthMBDkGoE3QrwxuY4IU6MtDHTJrJAI_I4AMETzCigYXmsKSC5RySiKjkfzThKUyzIyZRSbg9SfTzDE5CvQr1qiRc6X4Li4lC1Tp4TTMnbR2-4A3t53ohXhefNnmeC9XkQp6FfHl8bQ9vwPd5U9bBi_IfUcnU_KerBO_u8OCLT0DkVEBvnnumj3nZjiLwSMC3ABq9sQaZYiK2fit4nCjOqAkeqM0AG1MzdATvtNjekoHuvrVv7IZ2ny7scBPWYZrQmxx-HYo-MDWBs_4qDi8wMs9RHF6Eugh1GYLpguM8LINQl29CXfb_7vvC-7rPTHswzaHBjNr9UZV1o5qyyMZWG903fVMQllh1dakK1VQ1VoU87ms0fWZbJVUhG9nsi0IdVN4clCw72ddSK1OREYWkCa3LnXufkna25andy2Nd1ZnDjlzcYqiUdugHoVRK5NImwK5bhygK6Wzk-JOCLbstu6cNUZ4hrYOhH49WnuGE3oe_xidbF9f-ZpLlce1yHSahLknv-dvNS_hKmoW6bPePyb7HCO-t-h4AAP__CVoOVQ">