diff options
author | Kazu Hirata <kazu@google.com> | 2025-09-25 08:51:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-25 08:51:55 -0700 |
commit | 78238dc9f8888a6c5ec42ceea24ae2bde801fb18 (patch) | |
tree | f665248d1a99eded9247b514304001c1deea8ec6 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 0fd341c20b890b05f9588b7da61731561d3ef72a (diff) | |
download | llvm-78238dc9f8888a6c5ec42ceea24ae2bde801fb18.zip llvm-78238dc9f8888a6c5ec42ceea24ae2bde801fb18.tar.gz llvm-78238dc9f8888a6c5ec42ceea24ae2bde801fb18.tar.bz2 |
[Support] Use list-initialization for returning pairs (#160645)
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 Support/.
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions