From 33e2acfe6100929b1250727b18686c807ccefcdb Mon Sep 17 00:00:00 2001 From: Krzysztof Bieganski Date: Fri, 19 Aug 2022 13:33:17 +0200 Subject: [PATCH] Fix `AstNode::forall` return type (#3559) Signed-off-by: Krzysztof Bieganski --- src/V3Ast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3Ast.h b/src/V3Ast.h index dbc31cdab..89ae5a35b 100644 --- a/src/V3Ast.h +++ b/src/V3Ast.h @@ -2043,7 +2043,7 @@ public: // Same as above, but for 'const' nodes template - void forall(std::function p) const { + bool forall(std::function p) const { static_assert(checkTypeParameter(), "Invalid type parameter 'T_Node'"); return predicateImpl(this, p); }