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