llvm / llvm/llvm-project

[llvm] Document non-trivial `llvm::DenseMapBase` member functions

Open
#166,155 11 comments 0 reactions 2 assignees Claimed by @Priyanshi-dixit1 View on GitHub
documentation enhancement good first issue llvm:adt
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

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:
1) `try_emplace`
2) `insert_or_assign`
3) `emplace_or_assign`
4) `lookup_or`
5) `operator[]` - should specify what happens if the key isn't yet in the map.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.