From 72fb5958427ef63181023e8fedce5c6ba642b01a Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Wed, 2 Oct 2024 17:39:13 +0200 Subject: Enable bugprone-empty-catch check. --- test/buildtool/execution_engine/traverser/traverser.test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/buildtool/execution_engine/traverser/traverser.test.cpp') diff --git a/test/buildtool/execution_engine/traverser/traverser.test.cpp b/test/buildtool/execution_engine/traverser/traverser.test.cpp index cc5c22e9..3fb57871 100644 --- a/test/buildtool/execution_engine/traverser/traverser.test.cpp +++ b/test/buildtool/execution_engine/traverser/traverser.test.cpp @@ -134,9 +134,10 @@ class TestExecutor { [[maybe_unused]] auto was_it_added = build_info_->InsertIncorrectlyBuilt(node->Content().Id()); } + return false; } catch (...) { + return false; } - return false; } [[nodiscard]] auto Process( -- cgit v1.2.3