llvm/llvm-project
Auf GitHub ansehen[llvm] Document non-trivial `llvm::DenseMapBase` member functions
Open
#166.155 geöffnet am 3. Nov. 2025
documentationenhancementgood first issuellvm:adt
Repository-Metriken
- Stars
- (26.378 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 1T 2h) (1.000 gemergte PRs in 30 T)
Beschreibung
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.