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

    <tr>
        <th>Summary</th>
        <td>
            How does clangd ignore the RC_INVOKED macro
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          House-Men
      </td>
    </tr>
</table>

<pre>
    When clangd analyzes the currently opened .h file, it applies the windows rc compilation -DRC_INVOKED in compile_commands.json, resulting in failure to recognize the included cstdint export type.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxMkb-O2zwQxJ-GahYWKEqyrILF951jXBAkAVIk5YEmV9IeKK7AP-f4nj6w4yCpWMxwdva3JiWaA6IW_f-iP1am5IWjfuaScPcZQ3Vmd9U_FgxgvQmzAxOMv75jgrwg2BIjhuyvwBsGdFAvMJFHoZ6AMpht8_SwXig4viSIFiyvG3mTiQPsjt-eXj5--f7104cjUHho-GJ5XU1wqX5NHG5xEVPxmcJ8c02GfIkImSGi5TnQO96nULC-OHRgU3YUMuDPjWOGfN2wrpxu3diOpkLdDF3fDYNSbbVo2Y77cVKDmuRkxnHf2dGOwyRlj3bEg6lIK6l62alO7rtBtnUjzeQOB2mmBhtjJtFJXA352vu3teY4V5RSQd20Q6P6ypsz-nSHrFTAC9xVodSNedS3T7tzmZPopKeU09-YTNmjfuYLOMb05wg0B46_N_4H32ps5KpEr5ectyTa_4Q6CXWaKS_lXFtehTrdkh_Pbov8ijYLdbr3SUKdHoXftPoVAAD__2KFtB0">