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

    <tr>
        <th>Summary</th>
        <td>
            Is there a plan to add handleStmtAttribute to ParsedAttrInfo?
        </td>
    </tr>

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

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

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

<pre>
    Hello,

Custom attributes is very useful feature that allows extend C++ code with some meta information.
Currently it's not possible to add custom attribute to AST out of the box without changing clang source code.
However for `Decl` it possible to add custom attribute with custom arguments parser using built in attribute kind(Annotate for example).
It possible due to existence of `HandleDeclAttribute` virtual method in `ParsedAttrInfo` class.
However such method is not provided for `Stmr`.

Is there plan to add such interface for Stmt?
Or there some other reasons why it's missed?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMk0Fu8zYQhU9DbQa_wVCyZC-0cBIICbpogfQCFDmS2FKkwRnaye0LKnaaZtWNJFB88958HGoiNwfEXuwfxf650pmXmPrXnJz7LY7oQjVG-9G_oPdRqCchn4U8fT6fMnFcQTMnN2ZGAkdwwfQBmXDKHibUnBMCL5pBex-vBPjOGCw8CfUo1COYaBGujheguCKsyBpcmGJaNbsYdnenlDCw_wDHQnUEITKcI5EbPQJH0NaC-RGnrJ_e_oSYGeIEvCCM8X0zK0tm0WF2YQbjdZiBYk4Gtzw305d4xQsmmGIC0cpnNF60Etz_cN4auq-mOa8YmOCsE2GCTMV1zM4zuPBN9bcLVqjDKYTImnEzxne9nj0Kdbylev1mb_MWAd8dMQaDpU3RyhcdrMeS93SvXYJfXOKsfWG8RFusRSv_KJls2fcapli2Ga-JfiCgbJYv3Y1-ihdn0d7xvPGaRCt33wfklQr1hHD2OtxhbbVcYEyTNp9NvvHKoh4-Rb-nm2gbiFi-IaGmGAiuy9cErI4IraiHyva1PdZHXWH_0D2ovVJ7WVdLj7XqTGM6e5RKK9taPaJGZaaDfuhGua9cr6RqZCM7JZuHpt51UysPBzOhRBytbUUjcdXO77y_rLuY5soRZewP3bGRldcjetoujlIBr7D9FEqVe5T6ovk15plEI70jpn-rsGOP_Rcd_R8-y3Z6Bcnp-yT_OKh6qHLy_cJ8JlGfhBqEGmbHSx53Jq5CDcXt9vp1TvEvNCzUsGUkoYath38CAAD__wQZW4w">