Changes in src/CodeGen/CodeGenerator.h [0f79853:55d6e8de]
- File:
-
- 1 edited
-
src/CodeGen/CodeGenerator.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.h
r0f79853 r55d6e8de 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 ); … … 93 88 void postvisit( StmtExpr * ); 94 89 void postvisit( ConstructorExpr * ); 95 void postvisit( DeletedExpr * );96 void postvisit( DefaultArgExpr * );97 void postvisit( GenericExpr * );98 90 99 91 //*** Statements … … 101 93 void postvisit( ExprStmt * ); 102 94 void postvisit( AsmStmt * ); 103 void postvisit( DirectiveStmt * );104 95 void postvisit( AsmDecl * ); // special: statement in declaration context 105 96 void postvisit( IfStmt * ); … … 147 138 bool genC = false; // true if output has to be C code 148 139 bool lineMarks = false; 149 bool printExprTypes = false;150 140 public: 151 141 LineEnder endl;
Note:
See TracChangeset
for help on using the changeset viewer.