[all-commits] [llvm/llvm-project] 6c8c83: Add an llvm::cl::opt::operator=(T &&Val) (#147502)
Tom Natan via All-commits
all-commits at lists.llvm.org
Tue Jul 8 05:26:37 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6c8c836b4f5a0b519db6f97c4882c6c061edd004
https://github.com/llvm/llvm-project/commit/6c8c836b4f5a0b519db6f97c4882c6c061edd004
Author: Tom Natan <tomnatan at google.com>
Date: 2025-07-08 (Tue, 08 Jul 2025)
Changed paths:
M llvm/include/llvm/Support/CommandLine.h
Log Message:
-----------
Add an llvm::cl::opt::operator=(T &&Val) (#147502)
Add an llvm::cl::opt::operator= that takes an rvalue reference of value,
to avoid an unecessary copy for types with memory allocation (string,
vector, etc).
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