[Mlir-commits] [mlir] [mlir] Deprecate NamedAttrList(std::nullopt_t) (NFC) (PR #149544)
Jakub Kuderski
llvmlistbot at llvm.org
Fri Jul 18 11:03:38 PDT 2025
================
@@ -802,6 +802,7 @@ class NamedAttrList {
using size_type = size_t;
NamedAttrList() : dictionarySorted({}, true) {}
+ LLVM_DEPRECATED("Use NamedAttrList() instead", "NamedAttrList()")
NamedAttrList(std::nullopt_t none) : NamedAttrList() {}
----------------
kuhar wrote:
MLIR IR types use it because they are pointer-like
https://github.com/llvm/llvm-project/pull/149544
More information about the Mlir-commits
mailing list