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

    <tr>
        <th>Summary</th>
        <td>
            IntegerLiteralSeparator not correct with `s` literal suffix
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-format
      </td>
    </tr>

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

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

<pre>
    WIth the configuration 

```
IntegerLiteralSeparator:
  Binary: 8
 Decimal: 3
  DecimalMinDigits: 5
  Hex: 0
```

clang-format 16.0.3 proposes the following change:

```
-   RateLimit limit{2, 1000s};
+   RateLimit limit{2, 10'00s};
```

There are two issues:
1. it seems to consider the `s` suffix as a digit, and hence place the tick in the wrong place
2. it should not format this number at all, thanks to `DecimalMinDigits`
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8U01vnDwQ_jXmMtqVbQIsBw7Zd7V6I6WXtlLPxgy2G2Ov7CGb_PsKlqRVm1ZCA_M98zyDytmZgNix6siqU6FmsjF1z9GgzwazCqbo4_DafXsgC2QRdAyjM3NS5GIAxk-M32-y5tuzqg-B0GB6dIRJ-S94UUlRTKzcwgGOLqj0ysp7OGymE2o3Kb-YyreozfbJhZMzjvLirN6c_-PLovMPJ7hJ7VUwuzGmSRGIes_3JVxSvMSMed1ojN7HqwsGtFXB4PuEHxbdAcBnRfjoJkfgF8mao2TyPxCc88yaEyuPW6o8_iuayeb3hI8W-GoxIaiEQNcILucZ8_uMYg-OICNOGSgu7GQ3YFoXYzXPrOaQ53F0L6AyKBgWDJf2KgxgMWiEi1ca1wRy-glcWL-vKQZz8906yVsnG2c_QIgEG6RkXYYwTz0mUATK-6U8WRWe1pFYzf-gsObF0JVDW7aqwE7Uh_LQyko0he2GvueaN6MQCrXqGxzacdRCoui1GHRbuE5yWfJKSCGqSjT7wyja8VANnGtZivrA7jhOyvm998_TPiZTrJh1taybtvCqR5_Xe5fy19tgUi5_QOqWtF0_m8zuuHeZ8s9C5Mhj95fLXkHRMSXUBFdH9p0Af4vciCjm5DtLdFlZlGcmz8aRnfu9jhOT56Xb9tpdUvyOmpg8b7zL87rGjwAAAP__vAQkQA">