From f64d9d87f60133ce4a8bc6a6abac4c008c759d33 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 28 Aug 2021 17:44:14 -0400 Subject: [PATCH] Clang compile fix --- src/V3AstNodes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/V3AstNodes.h b/src/V3AstNodes.h index b5c324b03..da6da2a01 100644 --- a/src/V3AstNodes.h +++ b/src/V3AstNodes.h @@ -188,10 +188,10 @@ public: AstEmptyQueue(FileLine* fl) : ASTGEN_SUPER_EmptyQueue(fl) {} ASTNODE_NODE_FUNCS(EmptyQueue) - virtual string emitC() { V3ERROR_NA_RETURN(""); } - virtual string emitVerilog() { return "{}"; } + virtual string emitC() override { V3ERROR_NA_RETURN(""); } + virtual string emitVerilog() override { return "{}"; } virtual bool same(const AstNode* samep) const override { return true; } - virtual bool cleanOut() const { return true; } + virtual bool cleanOut() const override { return true; } }; class AstRange final : public AstNodeRange {