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

    <tr>
        <th>Summary</th>
        <td>
            IntegerLiteral::getEndLoc is equal to IntegerLiteral::getBeginLoc
        </td>
    </tr>

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

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

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

<pre>
    This is the [issue](https://reviews.llvm.org/D141058/) to the bug, detected by @v1nh1shungry. 

For example, having a 
```
auto i = 1024;
 ^
```
Both IntegerLiteral::getBeginLoc and IntegerLiteral::getEndLoc will return the Loc at the arrow.
That is what I would expect:

```
auto i = 1024;
         ^~~~^
```


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMUslu2zAQ_ZrRhYjARXSsAw9xHQEBcswPkNZYZEGLLhc7vvjbC8pxF6BpSwgzkvhmeTNPp-SmGVGB3IDcNrpkG6Ia0BhsTBgv6s26RFwi2SIBuXEpFQS5Bb62OR8TiCfgA_Ah4snhObXenw5tiBPwYcs6RuV6ue9JDksOUybgX8iIGXcZR2IuBDp6YrNlyZZ5ipeWAN0CfbrZIUSC7_pw9FjjrD65eSL6jlnRj2f51CUH4giILWGUdyA2t_8E5PMfAzYhW_IyZ5wwvrqMUfvKSDxNmDc4ufk17Iiex88wz_NYEWfnPYmYS5wXkktUXl51jOHc3qq9WZ3rLM_Vv5BzKH4k-H7EXa4Zf2H9v7zuB-Tz9Xr9jOXNNqMSYy963aBiq0fRCckZa6zSev8o5Z6Omhm2l5JTI2i_pyPlHZd03TjFKReU1UNXkrVcm0fB-z1liGtmOHQUD9r5H9tvFp0o2fd81Xht0Ke7xKKqoAdTpgQd9S7ln6Jpssse1d-H7RLBb0X7qqh_rK4p0avfdTq5bItpd-EAfKh1P9zDMYavdRF8WHpPwIel_e8BAAD__ykk770">