<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/70299>70299</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libclang-c] Cannot determine the location of expression in `CXCursor_ForStmt`.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
derekdai
</td>
</tr>
</table>
<pre>
For example, the following for loops only produce one expression:
```c
for(i=0;;);
for(;i<10;);
for(;;i++);
for(;;) i++;
```
Therefore, it is impossible to determine the specific location of the expression in the statement.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0ksGOnDAMhp_GXKJFIRnY4cBhZ0a8QHvorQrBAbchRkno7r59BdPtbqtWshJZnxP5_22TEk0BsYP6AvWtMFueOXYjRvw-GioGHl-7nqPAF7OsHkFdRZ5ROPaenylMwnEUnnlNgoN_FWvkcbMoOKDAlzViSsQB9BPIG8gnaOQ97D13HEGdCfRNgr7sodr9_ABBXwj0tZL_o0eBuhzxbwyqFW8lb_x3J_f084wRHcdDIWVBSdCycko0eBSZxYgZ40IBD_1pRUuOrPBsTSYOgt0B3jULCvfSbDIuGHJZjJ0eW92aAruqac9aPtZSFXOH1rmmtlbb0VRan1vT1GOLxrSn6nQ2dUGdkkpXUjXyLGtZlSPKVjlnUVmslGvgJHEx5Evvfywlx6mglDbsHqVq28KbAX06ZqxUwGdxQFBqH3ns9jcPwzYlOElPKaf3XzJlfyyHp8F6E6YHC_VNXE0InP_y5KMVf9oAjbx-uW4xcfzac_yUlwyNLIst-m7OeU37fqgeVD9RnrehtLyA6vcufl0Pa-RvaDOo_ug9geoPbT8DAAD__-6c2zA">