[Mlir-commits] [mlir] fb3d83a - [mlir] Fix redundant return in the void method.

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Oct 6 11:45:46 PDT 2021


Author: rdzhabarov
Date: 2021-10-06T18:45:30Z
New Revision: fb3d83acaf1c5eea6537d0543b2c134dd0add534

URL: https://github.com/llvm/llvm-project/commit/fb3d83acaf1c5eea6537d0543b2c134dd0add534
DIFF: https://github.com/llvm/llvm-project/commit/fb3d83acaf1c5eea6537d0543b2c134dd0add534.diff

LOG: [mlir] Fix redundant return in the void method.

clang-tidy, fix redundant return statement at the end of the void method.

Reviewed By: jpienaar

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

Added: 
    

Modified: 
    mlir/lib/TableGen/Pattern.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/TableGen/Pattern.cpp b/mlir/lib/TableGen/Pattern.cpp
index b78abf7c9e3b..084345238785 100644
--- a/mlir/lib/TableGen/Pattern.cpp
+++ b/mlir/lib/TableGen/Pattern.cpp
@@ -820,5 +820,4 @@ void Pattern::collectBoundSymbols(DagNode tree, SymbolInfoMap &infoMap,
                       "unsupported right now",
                       treeName));
   }
-  return;
 }


        


More information about the Mlir-commits mailing list