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

    <tr>
        <th>Summary</th>
        <td>
            Backport 5f4ee5a2dfa9 to release/18.x
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang,
            clang:frontend
      </td>
    </tr>

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

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

<pre>
    Fixes a crash on attaching doc comments (#78716), and similar issues from before:
Fixes #67979 
Fixes #68524
Fixes #70550

/cherry-pick 5f4ee5a2dfa97fe32ee62d1d67aa1413d5a059e6

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckcFu4yAQhp8GX1AjGMDAgUPayO-BYWyzxSYCsmrefpWk2tX2App_NP9o_s-3ltYD0RH1TtRl8Le-leouaU-93s9HrCkMc4l3N6UvbNTTUH3baDmo792HLR0rjSXQUPYdj94oAUNAaKP5SMAS-KD-iLSlPWVfaWrtho0utex0xqVUJOJM2IWw82sBATFqqy39KRoF8oemmVLspX2_MIUNa72_XVP4pGqRiMpDXLzVCwpAHCHyOGrvueQiKs-UxfE1PEQnohXWD-i4ZpoZYSUfNjcrFUEZjVYYACklX9Q4o47GWG1mPiQHDCQDJoEry_gJRIij5kaMdtTBMyIZ7j7lU86_91Op6_DMwRk2cjtkP2NuTwIAIftjJQAEPv5W4rzUcnQ84qOhLkN1D6O3-bY2IllOrbd_1j31jO7dh89rqf2_EGgvtGJG35DAxM3pa7jV7Lber-3BASYC05r6dptPoewEpofr9_d2reUXhk5gelEkMD0P-BMAAP__3uCvIw">