llvm-project
7196554c - [Support] Use list-initialization for returning pairs (#160447)

Commit
42 days ago
[Support] Use list-initialization for returning pairs (#160447) 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/.
Parents
Loading