[Mlir-commits] [mlir] [mlir] Deprecate NamedAttrList(std::nullopt_t) (NFC) (PR #149544)

Jakub Kuderski llvmlistbot at llvm.org
Fri Jul 18 10:04:44 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:

Similar here, we could turn this into `NamedAttrList(nullptr_t)`

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


More information about the Mlir-commits mailing list