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

    <tr>
        <th>Summary</th>
        <td>
            Missing switch case to handle `extern "C"` clause.
        </td>
    </tr>

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

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

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

<pre>
    I was using the rust bindings for libclang when I noticed that the library was failing to properly parse functions declared in `extern "C"` blocks.

That led me to discover this stack overflow comment:
https://stackoverflow.com/a/16953774/6202327

Just as the comment says, the line is missing from the function, meaning that libclang does not properly return the correct flag.
https://github.com/llvm/llvm-project/blob/main/clang/lib/Sema/SemaCodeComplete.cpp#L3956

It's a one line change for an issue that has been there for almost 10 years. It would be nice if it could be addressed.

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVks9unDAQxp8GLqMiMOHfgUO6UaStmlP7AsYewF1jI9tku2_fwcsqOeRSaVnj8fib-X7MYOWtP8OVe9i8MhOEGcFtPsCgjKSAh9E60GoQmtPxdUYDZzA2KIGSsnmIVyjBcXeLQiNXOkpZWJ1d0ekbrNx5hHEzIihrPEgkPUcKykBS5_g3oKM3xk70UAAGbcXFZ0n-kuTP9__fezFNdxbctaXywr6jo_rKgw9cXGDfj9peQdhlQROS8rg7h7D6fcde6ReTH7kZ5VKM01PUXVU2zRO91ixnJWs-1_-xYyF_u99DHzy_-YSdDgYGgVpZlI8oR2eXePCwvScuyM2d827mgVVa9DvUD2AOw0ZE7rWcQxFg1HzKvrIzqTBvw-FD6_fH8o3U_tBN2hLOgZaFK-riNRbdk9Qe_IULP5aTlXiyy6oxYCbWNWHlz7Kr6s8YzqTXeOBgzeFZzCSHcVC4IQJ-w7u_mWgNiNGGOxL0YgljkcMNaSYyOAe42k1LSgRDQwVqBBXI9BHjUjr0HuVhPcW-qKu2Zm1RlansS9mVHU-DChr7twO9v6ogZhDcx1Gh_qTGrweNWGwes3Rzuv9vrNErDcBrVddtk859WxUoRdOKtpV5MxRdPRZs5LKrh67irEg1H1D7Pqm-U32D1zuuvZfqJVU9TR3LG_aUx_HLsBlYNeRC8CpH3ozJU05fSels7yOzbkpdH1satsnToVY--I9DTjQmgxjLkT7fwmxd_8YvduImjaX72Po_aCpUCw">