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

    <tr>
        <th>Summary</th>
        <td>
            operator delete isn't annotated with `captures(none)`
        </td>
    </tr>

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

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

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

<pre>
    I'm not 100% certain that it would be correct to annotate `operator delete` with `captures(none)`, but `operator new` is already being annotated with `noalias`, even though that's technically not guaranteed to be correct. Should Clang add `captures(none)` with `-fassume-sane-operator-new`?

</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx0kcGO3CAQRL-mfUEzAozt4cBhs5GlnPMFbdNrkzAwgvaO9u8jO5tZJdqcOLSq6hWFtYYlETnovkD3tcGN11zcbQ0xhZ_DMDRT9m_uG-jhKlJmoaQE3YmZCmNIgldkEVjc8xa9mEjMuRSaWXAWmFJmZBLQy3yjgpyL8BSJCXop7oHX_TTjjbdCFfQl5USgLfQS9LOYNv5Lmui-60IVGAuhfxMThbQ8cvzDMmWMAeu7D73SDpq3ZT14QQ9VMM1rCjPG-Hb0WjYsmJjI7-gfRc7i-3p0e464Z3n_X-ZH_OkFa92udKqY6PSH__SbH9oR5FPjXetta7EhpwbTKSONVc3q-pfOajLSzAOqYZrtQK2VszXmomznfROclrqTRktplenUWatLr6YXS9NF4aQ8GElXDPEc4-v1nMvShFo3cqrtzWCbiBPFeuytdaK7OK6g9T5_cbvoNG1LBSNjqFw_bDhwJPfPkiLUBHrgT1b49JOarUS3Mt8qtE-gR9DjEnjdpvOcr6DHPe39Od1K_kEzgx4Pxgp6fC_x6vSvAAAA__9ceOK-">