diff options
author | Kazu Hirata <kazu@google.com> | 2025-05-17 14:28:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-17 14:28:19 -0700 |
commit | 7108deca41f1ef05e399287bb5b37301e484123d (patch) | |
tree | 796942d4e76b629b9afec27d210395cc4047d44a /llvm/lib/Support/CommandLine.cpp | |
parent | 55531e33d3114e63ef7d2079896fb80243061395 (diff) | |
download | llvm-7108deca41f1ef05e399287bb5b37301e484123d.zip llvm-7108deca41f1ef05e399287bb5b37301e484123d.tar.gz llvm-7108deca41f1ef05e399287bb5b37301e484123d.tar.bz2 |
[MC] Use *Map::try_emplace (NFC) (#140397)
try_emplace with is much shorter and simpler if we are
default-constructing the value.
While I'm at it, this patch uses structured bindings to receive the
return value from try_emplace.
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions