Changes in src/CodeGen/CodeGenerator.h [da9d79b:44b4114]
- File:
-
- 1 edited
-
src/CodeGen/CodeGenerator.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.h
rda9d79b r44b4114 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 … … 38 38 void postvisit( BaseSyntaxNode * ); 39 39 40 //*** print type for all expressions41 void previsit( Expression * node );42 43 40 //*** Declaration 44 41 void postvisit( StructDecl * ); 45 42 void postvisit( FunctionDecl * ); 46 43 void postvisit( ObjectDecl * ); 47 void postvisit( UnionDecl * aggregateDecl ); 48 void postvisit( EnumDecl * aggregateDecl ); 49 void postvisit( TraitDecl * aggregateDecl ); 50 void postvisit( TypedefDecl * typeDecl ); 51 void postvisit( TypeDecl * typeDecl ); 52 void postvisit( StaticAssertDecl * assertDecl ); 44 void postvisit( UnionDecl *aggregateDecl ); 45 void postvisit( EnumDecl *aggregateDecl ); 46 void postvisit( TraitDecl *aggregateDecl ); 47 void postvisit( TypedefDecl *typeDecl ); 48 void postvisit( TypeDecl *typeDecl ); 53 49 54 50 //*** Initializer … … 69 65 void postvisit( LabelAddressExpr *addressExpr ); 70 66 void postvisit( CastExpr *castExpr ); 71 void postvisit( KeywordCastExpr * castExpr );72 67 void postvisit( VirtualCastExpr *castExpr ); 73 68 void postvisit( UntypedMemberExpr *memberExpr ); … … 144 139 bool genC = false; // true if output has to be C code 145 140 bool lineMarks = false; 146 bool printExprTypes = false;147 141 public: 148 142 LineEnder endl;
Note:
See TracChangeset
for help on using the changeset viewer.