llvm/llvm-project

Doxygen links to wrong implementation file

Open

#139.512 aperta il 12 mag 2025

Vedi su GitHub
 (5 commenti) (0 reazioni) (1 assegnatario)C++ (10.782 fork)batch import
documentationgood first issue

Metriche repository

Star
 (26.378 star)
Metriche merge PR
 (Merge medio 1g 2h) (1000 PR mergiate in 30 g)

Descrizione

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.

Guida contributor