From 36453c5949a7c4cffa5ba8df495cf5167ee972c6 Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Tue, 23 Jan 2024 14:56:57 -0800 Subject: [PATCH] use while (true) in do loops with continue Signed-off-by: Nikolaj Bjorner --- src/ast/arith_decl_plugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ast/arith_decl_plugin.cpp b/src/ast/arith_decl_plugin.cpp index f09daaf75..67a605869 100644 --- a/src/ast/arith_decl_plugin.cpp +++ b/src/ast/arith_decl_plugin.cpp @@ -984,7 +984,8 @@ bool arith_util::is_extended_numeral(expr* term, rational& r) const { return true; } return false; - } while (false); + } + while (true); return false; }