Changes in src/CodeGen/CodeGenerator.h [42a36d9:d807ca28]
- File:
-
- 1 edited
-
src/CodeGen/CodeGenerator.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.h
r42a36d9 rd807ca28 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Tue Apr 30 12:01:00 201913 // Update Count : 5 712 // Last Modified On : Fri Aug 18 15:40:00 2017 13 // Update Count : 56 14 14 // 15 15 … … 20 20 #include <string> // for string 21 21 22 #include "CodeGen/Options.h" // for Options23 22 #include "Common/Indenter.h" // for Indenter 24 23 #include "Common/PassVisitor.h" // for PassVisitor … … 32 31 33 32 CodeGenerator( std::ostream &os, bool pretty = false, bool genC = false, bool lineMarks = false, bool printExprTypes = false ); 34 CodeGenerator( std::ostream &os, const Options &options );35 33 36 34 //*** Turn off visit_children for all nodes … … 96 94 void postvisit( ConstructorExpr * ); 97 95 void postvisit( DeletedExpr * ); 98 void postvisit( DefaultArgExpr * );99 96 void postvisit( GenericExpr * ); 100 97 … … 146 143 std::ostream & output; 147 144 LabelPrinter printLabels; 148 Options options; 145 bool pretty = false; // pretty print 146 bool genC = false; // true if output has to be C code 147 bool lineMarks = false; 148 bool printExprTypes = false; 149 149 public: 150 150 LineEnder endl;
Note:
See TracChangeset
for help on using the changeset viewer.