llvm/llvm-project

Doxygen links to wrong implementation file

Open

#139512 opened on May 12, 2025

View on GitHub
 (5 comments) (0 reactions) (1 assignee)C++ (26,378 stars) (10,782 forks)batch import
documentationgood first issue

Description

The documentation for llvm::Use::zap refers to the implementation at line 35 of llvm/lib/IR/Use.cpp but the link that doxygen inserts points instead to the file llvm/lib/ShadowIR/Use.cpp. I'm guessing it should probably point to llvm/lib/IR/Use.cpp 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.

Contributor guide