[llvm] [TargetLibraryInfo] Use std::move (NFC) (PR #95671)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 15 19:49:41 PDT 2024


kazutakahirata wrote:

> Looking at this again, you could probably also use `= default` ... or drop all the explicit ctors/assignment operators and use the implicit ones.

Great idea!  We have one user-declared constructor a few lines above, so I would have to use `= default` to ask the compiler for the default move constructor and move assignment operator.  I'll post a follow-up PR.



https://github.com/llvm/llvm-project/pull/95671


More information about the llvm-commits mailing list