Changes in src/CodeGen/CodeGenerator.h [92fea32:da9d79b]
- File:
-
- 1 edited
-
src/CodeGen/CodeGenerator.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.h
r92fea32 rda9d79b 27 27 28 28 namespace CodeGen { 29 struct CodeGenerator : public WithShortCircuiting, public With VisitorRef<CodeGenerator> {29 struct CodeGenerator : public WithShortCircuiting, public WithGuards, public WithVisitorRef<CodeGenerator> { 30 30 static int tabsize; 31 31 32 CodeGenerator( std::ostream &os, bool pretty = false, bool genC = false, bool lineMarks = false );32 CodeGenerator( std::ostream &os, bool pretty = false, bool genC = false, bool lineMarks = false, bool printExprTypes = false ); 33 33 34 34 //*** Turn off visit_children for all nodes … … 37 37 //*** Error for unhandled node types 38 38 void postvisit( BaseSyntaxNode * ); 39 40 //*** print type for all expressions 41 void previsit( Expression * node ); 39 42 40 43 //*** Declaration … … 66 69 void postvisit( LabelAddressExpr *addressExpr ); 67 70 void postvisit( CastExpr *castExpr ); 71 void postvisit( KeywordCastExpr * castExpr ); 68 72 void postvisit( VirtualCastExpr *castExpr ); 69 73 void postvisit( UntypedMemberExpr *memberExpr ); … … 140 144 bool genC = false; // true if output has to be C code 141 145 bool lineMarks = false; 146 bool printExprTypes = false; 142 147 public: 143 148 LineEnder endl;
Note:
See TracChangeset
for help on using the changeset viewer.