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

    <tr>
        <th>Summary</th>
        <td>
            [clang][ExtractAPI] Nested types are not handled
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            good first issue,
            clang:tooling
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          daniel-grumberg
      </td>
    </tr>
</table>

<pre>
    Currently ExtractAPI fails to handle nested types like:
```
struct MyStruct {
  struct {
    int a;
  }
}
```
What we would like is for the nested struct to be have a relationship to the parent context of "memberOf" and for the path components to reflect the nesting.

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkUk2PnDAM_TXhYu0oJARmDhxmdzpSD_2QeujZgIG0IUGJ2d359xUMmm1VCQnHdt57dh6mZAdPVAvzLMwlw4XHEOsOvSX3NMRlaigOWRO6W_2yxEie3Q0-vXPEls_fP0OP1iXgACP6zhF4Skwd8G2mBM7-JqHPQl6EPItS7t92TByXluHL7cc9ENXzvQCQ_ssAWM-AQj8yorrssI_gX_yfIzK8EbyFxXWbErAJ-hCBx4fMnYkDNAQjvhIgRHLINvg02nmtrO0zrpNDGzzTO0PoQSg10bqcb71QCtB3D-wZeYQ2THPw5HlbTqTe0Uq0U1s_HO4ys67W3UmfMKM6L6uTLE-6OmZjXaBRsipMe2qL3OhSFa3JdSPLClFpmWe2VlJpqfMqL-VJHw9lqY7a6COZoywV9qKQNKF1B-dep0OIQ2ZTWqgu86KqMocNubS9u1JDCB30NiaGrUcoJdSLUKp16AehzxyCs35Y8-aSxXqFfGqWIYlCOps4fZCwZbf56X7XXIR5_jCMMBf4-rdHMBL4wLt_umyJrh6Z57QaR12Fug6Wx6U5tGES6rrS7L-nOYZf1LJQ1010Euq6zfYnAAD__wOa5O0">