summaryrefslogtreecommitdiff
path: root/mlir/unittests/Support/DebugActionTest.cpp
diff options
context:
space:
mode:
authorJeff Niu <jeff@modular.com>2022-07-14 13:31:47 -0700
committerJeff Niu <jeff@modular.com>2022-07-14 13:32:13 -0700
commitb7f93c28096fc8503e4d2d80c43ee2c0ccce480f (patch)
tree31597ae54bf43b89ed139d0d8717073ae38ef024 /mlir/unittests/Support/DebugActionTest.cpp
parentedee61b55cf9f2b57d68ef8bcd8b5dcd3296ecab (diff)
downloadllvm-b7f93c28096fc8503e4d2d80c43ee2c0ccce480f.tar.gz
[mlir] (NFC) run clang-format on all files
Diffstat (limited to 'mlir/unittests/Support/DebugActionTest.cpp')
-rw-r--r--mlir/unittests/Support/DebugActionTest.cpp4
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>();