aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-03-17 13:19:12 -0700
committerGitHub <noreply@github.com>2025-03-17 13:19:12 -0700
commit4ce1d1f1d90d19fb7094f2dcca3b46fef81c1e27 (patch)
treed388b14486c11bcac5278e7e17cb2cc41bd83fc4 /clang/lib/CodeGen/CodeGenFunction.cpp
parente3ef5f2928f4077c48aebbddd288442d6ff76b62 (diff)
downloadllvm-4ce1d1f1d90d19fb7094f2dcca3b46fef81c1e27.zip
llvm-4ce1d1f1d90d19fb7094f2dcca3b46fef81c1e27.tar.gz
llvm-4ce1d1f1d90d19fb7094f2dcca3b46fef81c1e27.tar.bz2
[ADT] Add DenseSet::insert_range (#131567)
This pach adds DenseSet::insert_range, named after std::map::insert_range from C++23. The intent is to allow a heavy operation as the argument like: Set.insert_range(Map[Key]); Without insert_range, we would have to do: Set.insert(Map[Key].begin(), Map[Key].end()); or: auto &M = Map[Key]; Set.insert(M.begin(), M.end()); Neither is elegant.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions