From ab016596602a4c6bdc27adf01c308b325af221f0 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Wed, 21 Sep 2016 22:35:47 -0600 Subject: something that only builds ... --- lib/codegen/include/code_gen/CG_outputRepr.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib/codegen/include/code_gen/CG_outputRepr.h') diff --git a/lib/codegen/include/code_gen/CG_outputRepr.h b/lib/codegen/include/code_gen/CG_outputRepr.h index 0897007..d72ae6f 100644 --- a/lib/codegen/include/code_gen/CG_outputRepr.h +++ b/lib/codegen/include/code_gen/CG_outputRepr.h @@ -15,17 +15,19 @@ #ifndef _CG_OUTPUTREPR_H #define _CG_OUTPUTREPR_H +#include + namespace omega { class CG_outputRepr { public: + CG_outputRepr() {} - //! shallow delete - virtual ~CG_outputRepr() { } + virtual ~CG_outputRepr() { /* shallow delete */ } virtual CG_outputRepr *clone() const = 0; - //! delete actual IR code wrapped inside - virtual void clear() { } + virtual void clear() { /* delete actual IR code wrapped inside */ } virtual void dump() const {} + virtual char *type() const = 0; }; } -- cgit v1.2.3-70-g09d2