diff options
author | Kazu Hirata <kazu@google.com> | 2025-05-17 13:53:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-17 13:53:44 -0700 |
commit | 2e2a7923a428e78b5387be1e28f63db1bc1171bb (patch) | |
tree | b182f728441b2d693039344b08786662aa480a35 /llvm/lib/Support/CommandLine.cpp | |
parent | f5576729a4e26d62ba183a9443025f00ebdcc1e9 (diff) | |
download | llvm-2e2a7923a428e78b5387be1e28f63db1bc1171bb.zip llvm-2e2a7923a428e78b5387be1e28f63db1bc1171bb.tar.gz llvm-2e2a7923a428e78b5387be1e28f63db1bc1171bb.tar.bz2 |
[ProfileData] Use DenseMap::try_emplace (NFC) (#140394)
We can simplify the code with structured binding and try_emplace.
Note that try_emplace default-constructs the value if omitted.
FWIW, structured binding, a C++17 feature, wasn't available in our
codebase at the time the code was written.
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions