<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/60252>60252</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Python clang.cindex CursorKind enum missing case(s?)
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          rjra100
      </td>
    </tr>
</table>

<pre>
    The list of cursor kinds supported by clang.cindex ([here](https://github.com/llvm/llvm-project/blob/main/clang/bindings/python/clang/cindex.py) is currently missing case 604, CXCursor_ConceptDecl ([see here](https://clang.llvm.org/doxygen/group__CINDEX.html).
Code which attempts to call `node.kind` is liable to fail with a ValueError "Unknown template argument kind 604" if invoked with the compiler in C++20 mode. In most cases it can be worked around by catching the error and returning something something else (e.g. CursorKind.UNEXPOSED_DECL) as a placeholder, but obviously it won't be able to do anything that actually requires parsing a Concept.

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUk82OpDYUhZ_GbK6CjPnpZsFimiqkUaLJSMlEvSsZ-wKeNjbxT9fw9pGp6nR6kcWssAwcfz7nHu69mg1iR-onUp8yHsNiXee-O15Qmo1W7t2fC4JWPoCdQETnrYMXZaQHH7fNuoASxh2E5mbOhTISfwBhj6R-WtAhqU-EPS4hbJ6UnwgbCBtmFZY45sKuhA1av749ftmc_Y4iEDaM2o6EDStXhrDh0E67ykhlZk_YsO1hsf99dzs533bCWlA-kTo0Qe-wKu-VmUFwj9DQirAe-uf-uMmlt0bgFk4o9J3aI8L_kd8umVhz69Kp0v7YZ0wcs7Nxu1z6z19O5-d8CasmrM0JPRH6qbcS4boosQAPAdcteAgWBNcaSEONlZgnS0lDE7pWfNSYvpi40nBVYQEOf3Ed8eycdUAY-2ZejL0aSGqaBwTu5riiCUc2t2syUBMo82pfUN5UwoIg7LopjQ6UgZ6wJ8KeGIU1McBnA6v14bDKg0oLAyPC1bqkwZ2N5pY2D2JJpiZFPKC4keAwRGfSvrcrhuXjCrXHZDLmcw43_39VRubfvpyfv_7-x_l0OZ3731J-3AOHTXOBi9USXYpsjAHs-Kps9HpPbNeU_0NIfG9-SQvc7OFOxgNwESLXegeHf0fl0MPG3TENHO7R3zPKZFfKtmx5hl3RPFR1XZVtkS0dZxN7KNpiemRFw-SIVU3rqmZl2VQcmchUxygracEq2tZtXeSNFMVDQ5upKup6miipKK5c6X8HJ1PeR-waymqWaT6i9m8FdN3RhDHOnlQ01c6__xZU0Nh9PUb_Y-He3QQ0cf0w84Q9elIOhLVZdLr76S4esKlzB-8_AQAA__8I72Zk">