llvm/llvm-project
View on GitHub[llvm] Document non-trivial `llvm::DenseMapBase` member functions
Open
#166,155 opened on Nov 3, 2025
documentationenhancementgood first issuellvm:adt
Repository metrics
- Stars
- (26,378 stars)
- PR merge metrics
- (Avg merge 1d 2h) (1,000 merged PRs in 30d)
Description
There are (now?) some non-trivial memberfunctions in DenseMapBase that would be good to document, possibly adding a code sample.
From looking at https://llvm.org/doxygen/classllvm_1_1DenseMap.html, examples include:
try_emplaceinsert_or_assignemplace_or_assignlookup_oroperator[]- should specify what happens if the key isn't yet in the map.