[Mlir-commits] [mlir] [mlir] Use {} instead of std::nullopt to initialize empty ArrayRef (PR #109527)

Ivan Butygin llvmlistbot at llvm.org
Sat Sep 21 10:05:59 PDT 2024


Hardcode84 wrote:

While I do support replacing `std::nullopt` with `{}` where possible, necessity of using fully qualified `llvm::ArrayRef<NamedAttribute>()` in templated functions seems to be contradiction to the original intent and I don't like this idea.

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


More information about the Mlir-commits mailing list