aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-09-25 08:51:55 -0700
committerGitHub <noreply@github.com>2025-09-25 08:51:55 -0700
commit78238dc9f8888a6c5ec42ceea24ae2bde801fb18 (patch)
treef665248d1a99eded9247b514304001c1deea8ec6 /llvm/unittests/Support/CommandLineTest.cpp
parent0fd341c20b890b05f9588b7da61731561d3ef72a (diff)
downloadllvm-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