llvm/llvm-project

Doxygen links to wrong implementation file

Open

#139.512 geöffnet am 12. Mai 2025

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C++ (10.782 Forks)batch import
documentationgood first issue

Repository-Metriken

Stars
 (26.378 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 1T 2h) (1.000 gemergte PRs in 30 T)

Beschreibung

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