diff options
author | Kazu Hirata <kazu@google.com> | 2025-09-23 08:11:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-23 08:11:16 -0700 |
commit | c2fe408dda2977c17f47a4b11433c2244c7cd6dc (patch) | |
tree | 3f8fe9ee9ab48252d89ea2eb4c579523d85b9366 /llvm/lib/Object/Object.cpp | |
parent | 99618dec185e985db4f19ca5e61e00d30b9a8b74 (diff) | |
download | llvm-c2fe408dda2977c17f47a4b11433c2244c7cd6dc.zip llvm-c2fe408dda2977c17f47a4b11433c2244c7cd6dc.tar.gz llvm-c2fe408dda2977c17f47a4b11433c2244c7cd6dc.tar.bz2 |
[ADT] Use list-initialization for returning pairs (#160238)
In C++17 and later, "return {A, B};" guarantees copy elision for a
std::pair return type, ensuring the object is constructed directly in
the return slot. This patch updates those instances under ADT/.
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions