<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/92830>92830</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Update tblgen --gen-ctags output to _TAG_FILE_FORMAT 2
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
FlashSheridan
</td>
</tr>
</table>
<pre>
`llvm-tblgen --gen-ctags` generates an old version 1 ctags file:
```
flash@Astrophage llvm-project % build/bin/llvm-tblgen --gen-ctags llvm/test/TableGen/64-bit-int.td | head -1
!_TAG_FILE_FORMAT 1 /original ctags format/
```
The output does not seem useful; BBEdit (and I suspect others) requires `_TAG_FILE_FORMAT 2`: https://www.bbeditextras.org/advanced-ctags-hacking/
### Configuration
MacOS 13.6.7 22G720 on M1 Max
Clang 19 097e96d0d1ad 2024-05-20
MacOSX14.2.sdk
Xcode 15.2 15C500b, Apple clang-1500.1.0.2.5
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0U11v4zYQ_DXUy0ICtfp-0IPtOwUH1DigcYG8BZS4ltjQpEpScfrvC8kOkrY5gFhAIjk7s5wR3qvRELWs2LPiWySWMFnXdlr46XEip6QwUW_l3y0rudavlzj0eiQDcTySiYcgRs9KDiMZciKQB2HAagmv5LyyBlLYzsBZaWLZjvFvjL_Xkt_X9nlee7Kc73xwdp7ESLA1nJ39k4YADAvoF6Ulw65XhmH3Cz6w3WPYBfKBYXcSvaYHWm-UedyrECsTkiCBVQeYSEiI0zsjTJ9Pu4fn7sdv35-7n78fdyfGm5TxhmFnnRqVEfpdkHUXscJ_KeZWTxOBXcK8BJCWPBgbwBNdYPF0XjTL9rDff5dqFVcLI-EH-MXPq1obJnKeYQOO_lqUIw-s5P9lB7h2zHYAUwizXweMHcPuer0mfU9SBXoLTvjEupFhJ-SrMAPJ25ziSQwvyowfGj5XzG4LDtac1bg4EZQ1t82jGH4-QpolZVIB4kOFHKyBYwpH8XY7ctDCjJA2wJuKmlJymQoJyDGPeREj_wT0lOYJJl6-3P49DVYSpEWC7IBsx9PiUHDeMzzAbp41wbBCx2nBeZImPMGk-Ew8km0mm6wREbVplZaYZzU20dQOdX7OqqpEGs4SM5JV0ZdNj_lQykzwc6TalR4vkCNiljcJ7yte1bwuixJrGmqWc7oIpZPVX-tII-X9Qm2DdcYjLXrSfgsSoqErbJsMcc2Vazez9svoWc618sF_oAQVNLV_zFIEgi_8fLdQsPD_94docbr99-uPKkxLnwz2cg_Je1buUWLYbdw8w27j_k8AAAD__ylINjQ">