[all-commits] [llvm/llvm-project] 78238d: [Support] Use list-initialization for returning pa...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Thu Sep 25 08:52:18 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 78238dc9f8888a6c5ec42ceea24ae2bde801fb18
https://github.com/llvm/llvm-project/commit/78238dc9f8888a6c5ec42ceea24ae2bde801fb18
Author: Kazu Hirata <kazu at google.com>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M llvm/lib/Support/ARMWinEH.cpp
M llvm/lib/Support/BinaryStreamReader.cpp
M llvm/lib/Support/BinaryStreamWriter.cpp
M llvm/lib/Support/YAMLParser.cpp
Log Message:
-----------
[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/.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list