[Mlir-commits] [llvm] [mlir] eliminating g++ warnings (PR #105520)
    Frank Schlimbach 
    llvmlistbot at llvm.org
       
    Fri Aug 23 01:42:43 PDT 2024
    
    
  
================
@@ -150,11 +150,10 @@ inline bool checkArgTypeAtIndex(llvm::StringRef matcherName,
 
 // Marshaller function for fixed number of arguments
 template <typename ReturnType, typename... ArgTypes, size_t... Is>
-static VariantMatcher
-matcherMarshallFixedImpl(void (*matcherFunc)(), llvm::StringRef matcherName,
-                         SourceRange nameRange,
-                         llvm::ArrayRef<ParserValue> args, Diagnostics *error,
-                         std::index_sequence<Is...>) {
+static VariantMatcher matcherMarshallFixedImpl(
+    void (*matcherFunc)(), [[maybe_unused]] llvm::StringRef matcherName,
+    SourceRange nameRange, llvm::ArrayRef<ParserValue> args, Diagnostics *error,
+    std::index_sequence<Is...>) {
----------------
fschlimb wrote:
disabled compiler warning
https://github.com/llvm/llvm-project/pull/105520
    
    
More information about the Mlir-commits
mailing list