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

    <tr>
        <th>Summary</th>
        <td>
            [CIR] Cleanup support for C functions
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            ClangIR
      </td>
    </tr>

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

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

<pre>
    The initial function support is working for C++ functions, but C functions trigger the following error:

`error: ClangIR code gen Not Yet Implemented: non-prototype function type`

Some additional handling needs to be added so that this diagnostic isn't generated and C test cases can be created.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxEkk-PpCAQxT8NXirTwfJP68HDtpNO-rKH2b3sEaVUdhAMlDPpb7_B7ZlOSAj1qh4v_FAxmtkRdaK6iOo1UzsvPnTK6fu7ulsfssHre_d7ITDOsFEWpt2NbLyDuG-bDwwmwqcP78bNMPkAvcCLwMt3XxTYw7Az9M8ScDDzTAF4IZi8tf4zjVMIPojih5DHquVXAXqr3Hx7g9Frgpkc_PQMf4jhtm6WVnJMOvU571624NnzfaNn1HQStfzv-8uvBEprkyRlYVFO23S9I9IR2MNw6KQheuBFMfBiImijZucjmxFMdALPnJJQUEwalNPQA1NkGFWkCKNyyWcMlPRTprtCt0WrMuryc5kXMm9amS1dmZd1WxZNq6u6lm0pmwbzZsp1UQ3NOFWZ6VBiJQtZI1ZNLk_DVE75QGcpsZQtSlFKWpWxJ2s_1pMPc2Zi3KnLC4lSZlYNZOMBGPHxjgIx0Q5dGnkZ9jmKUloTOT5N2LA9_kV_exPVK_SWlNu3b-wH6yfSbA-2W5i3mADiVeB1Nrzsw2n0q8Br8n1sidBfGlng9UgaBV4fYT86_BcAAP__YCTZhA">