diff options
Diffstat (limited to 'mlir/unittests/Support/DebugActionTest.cpp')
| -rw-r--r-- | mlir/unittests/Support/DebugActionTest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mlir/unittests/Support/DebugActionTest.cpp b/mlir/unittests/Support/DebugActionTest.cpp index 0a73436f572d..4ecaf128a105 100644 --- a/mlir/unittests/Support/DebugActionTest.cpp +++ b/mlir/unittests/Support/DebugActionTest.cpp @@ -70,9 +70,7 @@ TEST(DebugActionTest, DebugCounterHandler) { // Handler that uses the number of action executions as the decider. struct DebugCounterHandler : public SimpleAction::Handler { - FailureOr<bool> shouldExecute() final { - return numExecutions++ < 3; - } + FailureOr<bool> shouldExecute() final { return numExecutions++ < 3; } unsigned numExecutions = 0; }; manager.registerActionHandler<DebugCounterHandler>(); |
