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