[llvm] [llvm] Use std::make_optional (NFC) (PR #151627)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 31 22:09:08 PDT 2025


topperc wrote:

Do C++17 deduction guides allow the type to be removed from the std::optional without using std::make_optional? Not sure what our preferred style is.

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


More information about the llvm-commits mailing list