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

    <tr>
        <th>Summary</th>
        <td>
            Categorisation and resolution order of `readability-identifier-naming` is unclear
        </td>
    </tr>

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

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

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

<pre>
    Hi,

I found the categorisation and resolution order of `readability-identifier-naming` unclear even after reading the documentation. Most names are self explanatory, but some are esoteric and the documentation samples don't always clarify. I could find no documentation for the resolution order of items which fall into multiple categories.

To address this issue, I decided to read the `readability-identifier-naming` source code and author an exhaustive exemplar which;

* Covers every naming category present in the `readability-identifier-naming` check
* Identifies the categories to which each identifier belongs
* Identifiers the category resolution order for each identifier

You can see the results in this gist: https://gist.github.com/KazNX/693761f2ee7881c120d209f04084e98a

Note that I was unable to create any identifier which resolved to `StaticConstant`, though I've included it in the list of categories of identifiers I though _should_ trip that category.

Cheers.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytVE1vm0AQ_TVwGQVhwDY-cEgcVbWq5tIe2lM07A6w7Zq19sMJ_fUdcEnIxyGHShZmF-bNm_feUhs5VJ9VlO2j9DZKry_XAzQm9BJ8RyDQU2uscuiV6QF525IzOkxLYyVZMA1Em9QSSqyVVn64UpJ6rxpF9qrHo-pbfg6hF5rQAp2JgRrPlWMNP506SSPCkcumRgl8Nc4DF5MDtASOdAP0eNLYozd2YMpQBw_OHGl6gUkxohITxTd44PB40owlTR9lWw-oH3BwIDRa1QwJHECYoCU0ist786q6MXbCfG905eno4KFTooMGtQbVewPHoL3ijk8CkkuWGn83gFIynmNg5UA5F2gc6gCSBOvHQ5hJn6nxR_R1JljBDY2kSQQMvmPe2LNuHQbn1ZlleiQWgl2YCEf5zZJUlF3D3pzJutEkO8AFfJ5hgBMT5s484odZiY7E72f4w_yOexGvcWn-iUjIl2csqEmbvnXvYNgXIMNbe0bfXsEt5_1pAhdzOIhme9k2dxmPTWmV81F-DZ33J8c3UfaJf-Nu0irfhToR5sg7X_DP3Q_-3-zy7WbVZETbslyJVZbKLN01aZGWBe1KXPa-47hyF_Ts-AM6Ph1Yc1xYBcGa-tHCYanCRZtpwvMlHKzutzGfYm9657H3vDEmiF0PbQcHzjkbrvjUhTFO6sk2zQOMyV2IP-Z4oephBrl33Xgs7sFbdbrQndV-Eed9R1yXxLLK5S7fYeyV11Tt_9_XQ7n5AxIHq6vXlizc0Po8_12drPlFwvNyOmCOb9brTZrFXbUryzKnVd3wshSioKLebXFTbsqmyDeyiDVy8lwVrW-i9W2sqizNsnSdpekqz_N10uSizlYFFihknct1VKR0RKWTsXFibBvbauJQBw5vkY6qu-eH6Jxqe6IZ_3JaqylK8US2mpj-BTDd8Bw">