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

    <tr>
        <th>Summary</th>
        <td>
            Support nested `enum` in `readability-static-accessed-through-instance`
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    ```cpp
class C {
public:
    enum E {
        E0
    };
};

static void f() {
    C c;
 (void)c.E0;
}
```
https://godbolt.org/z/dz6x38418

This is not actually a `static` but it seems quite similar and might into this check.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcUluSnDoMXY34UTVlzPuDj3mxgXs34IcanBhMsDyTmdWnaCaZdCjK1rGk4yPJKkY3rUQD1I9QP2cq8Rz24ep2elOvlOlg3wdoxPmbbQPxDOLBeBUjPiG0j-fBlrR3BsqHEyIi0poWfPkKwc_vRXxhaJ-h_PTf2bc1smJn8DU4i1eQHcj-nu4JzZ8UBNkdkSB7k7-IO9rT-F3FCWfmLR6C5QhynILVwXMe9gnk-AFytB_Nz7Kriu5vRf_PLqKLuAZGZTgp799RITTi1AqNQJ0YHWMkWiL-SI4Jo1ucVzuq1eLippnRrRyQDzYzk_meZ3YobV_2KqOhaNqmrmUh6mweKmE6SVfb6aKytb42ba9tr0kVylSVvWZukEKWQhZNIeta1HlbVtq2pKyuerKFgErQopzPvX9djgIzF2OioRFdITKvNPl4G7-UK73hzQlSHq9hH46ci05ThEp4Fzl-sbBjT8N_advCzrhSZLJHJ465H31w64F2UlZp5x2_X84eXZQxFCPZC897SNN8cWtktRqCRmRp98M_o3E8J52bsIAcj9s_t8u2h29kGOR40xxBjreafgUAAP__O0rXKQ">