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

    <tr>
        <th>Summary</th>
        <td>
            [clang-tidy] how to block using new, delete.
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-tidy
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          WoosukYang-MEG
      </td>
    </tr>
</table>

<pre>
    Is there a clang-tidy check that prohibits the use of new and delete?
If not, is it possible to create a custom check for this purpose?


</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxM0DGPnDwQBuBfY5rRImPjWyhc7PddiK5IHaU0MGBnvRh5xne6fx9BVrpULjzzzqvHEYV1Q7TC_CfMa-UK-5Ttz5So3H-5bb38-Pa9GtP8ad8I2GNGcDDF44fD_AmTx-kO7B3DnpMPY-BzDgohpAU2_AC3zTBjREahByFvbwtsiYX6HwJBYNgTURgjAieYMjo-bxTi9HjmLykD-0Cwl7wneuYIeatmq-de965C21xbZXTbmb7yVuOoX7BXvUTZLFLq-WWe1LL0zjSL6dsqWCWVkVo10qir7uv-2nTdMiJOV4PYdaKV-HAh1jG-P-qU1yoQFbSNVrptquhGjHS6KfUFIpQ6HLM9ti5jWUm0MgZi-srhwPEU_2fNvIJPH4fAGNN0h0JhWw-9g-kvXl2VHK1n3knom1CDUMMa2JexntJDqOE48Hwue06_cWKhhrM1CTU8i79b9ScAAP__zPmikg">