[mlir] Fix redundant return in the void method.
authorrdzhabarov <rdzhabarov@google.com>
Wed, 6 Oct 2021 18:22:09 +0000 (18:22 +0000)
committerrdzhabarov <rdzhabarov@google.com>
Wed, 6 Oct 2021 18:45:30 +0000 (18:45 +0000)
clang-tidy, fix redundant return statement at the end of the void method.

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D111251

mlir/lib/TableGen/Pattern.cpp

index b78abf7..0843452 100644 (file)
@@ -820,5 +820,4 @@ void Pattern::collectBoundSymbols(DagNode tree, SymbolInfoMap &infoMap,
                       "unsupported right now",
                       treeName));
   }
-  return;
 }