Issue 139512
Summary Doxygen links to wrong implementation file
Labels new issue
Assignees
Reporter amcn
    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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to