[clang] [mlir] [mlir] Migrate away from std::nullopt (NFC) (PR #145523)
Kazu Hirata via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 25 09:53:59 PDT 2025
================
@@ -1060,7 +1060,7 @@ makeMatcherAutoMarshall(ReturnType (*Func)(), StringRef MatcherName) {
BuildReturnTypeVector<ReturnType>::build(RetTypes);
return std::make_unique<FixedArgCountMatcherDescriptor>(
matcherMarshall0<ReturnType>, reinterpret_cast<void (*)()>(Func),
- MatcherName, RetTypes, std::nullopt);
+ MatcherName, RetTypes, ArrayRef<ArgKind>());
----------------
kazutakahirata wrote:
Oops. Sorry about that! I'm going to remove this bit.
https://github.com/llvm/llvm-project/pull/145523
More information about the cfe-commits
mailing list