<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/89945>89945</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-include-cleaner: `<typeinfo>` misidentified as unused
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
wangtz0607
</td>
</tr>
</table>
<pre>
## Example
```cpp
#include <typeinfo>
int main() {
bool b = typeid(int) != typeid(double);
return 0;
}
```
## Expected Behavior
`<typeinfo>` should not be considered as unused.
## Actual Behavior
![2024-04-24_23-55](https://github.com/llvm/llvm-project/assets/25856391/6e9930b6-2d15-4f22-9709-fc83dbd33d7b)
## Environment
```sh
clangd version 18.1.2
Features: linux
Platform: x86_64-unknown-linux-gnu
```
```sh
LLVM (http://llvm.org/):
LLVM version 18.1.2
Optimized build.
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUU0uPozgQ_jXmYhGZMhh84NDZdE692j3ttWVwEbxjbITt9OPXjyBJT3crGmkkBOLzo-p7lArBnBxiS6o9qQ6ZSnH0S_ui3Cm-M8HqrPP6rSXACXD6-Kqm2SJhB8Ierm_BLk8_z1cEuHG9TRop4X_FtxmNGzzhj5-PGRfppIwj0BCQlNT7C04ppZ33lnaU8APdTmsCjXFx2wfFF1j71FkkIAn_dMGCMS2Osg-Q1Idv3X6hcCM3Yx9R0z2O6mz88p3mVzKC0TD6ZDV1PtIOae9dMBoX1FQFmlwKqHd36jz0MSl7vwoUpNoDgzJnZQ7lM_C8qkh1INCMMc6B8AcCRwLHk4lj6na9nwgcrT3fPvm8-P-xjwSOKgSMgcARqqYSXBYEjgKl5KwTOeiiyssBIJc1k_nQN1x3mnNdd6uad9RxZ7N4N6GLd-0P4wXorXInTc-4BOMdLZpdsYPL0hFVTAuuJKg1Lr1e4H-tioNfphV-bcSzKPPkfjj_4vJtV35y6Xfufe_g6em_v-lVsA-9Vm12fjltf3KFr2nZdt_rltJ_5mgm846adsnYDy9v9TLdci25VBm2RV1wWZdVU2ZjC2rgWvYSRFH0emC1FsCGogCshBCCZaZdLWYllIVgUMkdiLKvVM1VgSWTqEnJcFLG7m5tZyaEhG0jZVllVnVowzaxAA5f6LZIANYBXtotBl06BVIya0IMv26JJlpsN4vy64zmvUXlcFnVvxvyyaypdtEM5nOys7TY9o8zuXW6ZnJj8jMAAP__VzRICw">