Skip to content

Commit 2b1af03

Browse files
committed
rm [[maybe_unused]]
1 parent 3863c3c commit 2b1af03

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

mlir/include/mlir/Query/Matcher/Marshallers.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,11 @@ inline bool checkArgTypeAtIndex(llvm::StringRef matcherName,
150150

151151
// Marshaller function for fixed number of arguments
152152
template <typename ReturnType, typename... ArgTypes, size_t... Is>
153-
static VariantMatcher matcherMarshallFixedImpl(
154-
void (*matcherFunc)(), [[maybe_unused]] llvm::StringRef matcherName,
155-
SourceRange nameRange, llvm::ArrayRef<ParserValue> args, Diagnostics *error,
156-
std::index_sequence<Is...>) {
153+
static VariantMatcher
154+
matcherMarshallFixedImpl(void (*matcherFunc)(), llvm::StringRef matcherName,
155+
SourceRange nameRange,
156+
llvm::ArrayRef<ParserValue> args, Diagnostics *error,
157+
std::index_sequence<Is...>) {
157158
using FuncType = ReturnType (*)(ArgTypes...);
158159

159160
// Check if the argument count matches the expected count

0 commit comments

Comments
 (0)