[Mlir-commits] [mlir] ad09cd3 - [mlir][ClangTidy] Remove redundant return (NFC).
Adrian Kuegel
llvmlistbot at llvm.org
Mon Mar 27 04:04:37 PDT 2023
Author: Adrian Kuegel
Date: 2023-03-27T13:03:53+02:00
New Revision: ad09cd3f0dad5d34b803c85c94c048a2f6a89d0d
URL: https://github.com/llvm/llvm-project/commit/ad09cd3f0dad5d34b803c85c94c048a2f6a89d0d
DIFF: https://github.com/llvm/llvm-project/commit/ad09cd3f0dad5d34b803c85c94c048a2f6a89d0d.diff
LOG: [mlir][ClangTidy] Remove redundant return (NFC).
Added:
Modified:
mlir/unittests/Debug/ExecutionContextTest.cpp
Removed:
################################################################################
diff --git a/mlir/unittests/Debug/ExecutionContextTest.cpp b/mlir/unittests/Debug/ExecutionContextTest.cpp
index d757d5451afec..642adff51002a 100644
--- a/mlir/unittests/Debug/ExecutionContextTest.cpp
+++ b/mlir/unittests/Debug/ExecutionContextTest.cpp
@@ -29,7 +29,7 @@ struct ThirdAction : public ActionImpl<ThirdAction> {
};
// Simple action that does nothing.
-void noOp() { return; }
+void noOp() {}
/// This test executes a stack of nested action and check that the backtrace is
/// as expect.
More information about the Mlir-commits
mailing list