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

    <tr>
        <th>Summary</th>
        <td>
            Doxygen links to wrong implementation file
        </td>
    </tr>

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

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

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

<pre>
    The documentation for [`llvm::Use::zap`](https://llvm.org/doxygen/classllvm_1_1Use.html#a017fb8dfaf7591379bf7596ce0f196eb) refers to the implementation at line 35 of [`llvm/lib/IR/Use.cpp`](https://llvm.org/doxygen/IR_2Use_8cpp_source.html) but the link that doxygen inserts points instead to the file [`llvm/lib/ShadowIR/Use.cpp`](https://llvm.org/doxygen/SandboxIR_2Use_8cpp_source.html). I'm guessing it should probably point to [`llvm/lib/IR/Use.cpp`](https://llvm.org/doxygen/IR_2Use_8cpp_source.html) as that is where `zap` is defined.

My doxygen-fu is rusty but I imagine it is not able to correctly disambiguate the two different files, `lib/ShadowIR/Use.cpp` and `lib/IR/Use.cpp` as they share the same name. There might be other examples of this kind of link confusion but I haven't done a thorough check.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJy8lLtu7DYQhp-GagYWKGp1K1Q4MQS4SHPOcb3gZSQypkiBpLzePH1A7RrOQQIDSZFKIoeXb-b_hzxGszjEkTS_kOap4HvSPox8la4QXl3HHxpBebmv6BJPxjuYfYC8uqXWvq2kfiT140vE288ffCMtJc0TYb1OaYt5mk2ETXlx6cNC2KT8-3VBR9gkLY8xR87VuXqJWOq0WsJqTqtuFr2a-dw1Q1V3g8g_rUQ6V0OLgrABAs4YIiQPSSOYdbP4SckTWOMQ6gb8_FdeNlkjCJuevxE25Svl9q-Qn7-d2UvEcy-37Rz9HuQH9QBiTweLNe4VkuYJ7vvAuIghRdi8cSnmYUKuPthnY_GfGL9rrvzlv5J-504J__4FcAnPhHUrLDvGaNwCJkHUfrcKtuAFF_Z6I86g_1MNebxVzkS4aAwIpKU3V-UphbNxqEpCHwl9_O36UeCHec_hsMd0PWR4BrPyJTvAHGc5n4ALizkT6UNAmewVlIl8FWbZecJDiXTxoMw8Y0CXDl0iYb9mhi8UAe7U55K_BXNCeIWoebhdEvmK4PiKJfw4UlzNohMIBJ80BsB3ns0cs3OTNhFejVN5cPhKejfvMXv8lqfmb7moXTabQ-CQO9jviwapUb6WhRprNdQDL3CsulNH6646NYUeu4oNgvVcsqbm7UybHrtT1UrVnfjQ901hRkZZQ5uK0Z42p1PJB4HYt0I2cyco7cmJ4sqNLT9ULkyMO45VPTQVKywXaOPxtDDm8AJHlDCWX5ow5k0PYl8iOVFrYoqfxySTLI5P9-bJaR99fgk-m_TnTs8iFXuw48_GW0zSuyilX-8uvH8etuB_R5kImw6cSNh0530b2Z8BAAD__2-lqjM">