Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.h

    rda9d79b r44b4114  
    2727
    2828namespace CodeGen {
    29         struct CodeGenerator : public WithShortCircuiting, public WithGuards, public WithVisitorRef<CodeGenerator> {
     29        struct CodeGenerator : public WithShortCircuiting, public WithVisitorRef<CodeGenerator> {
    3030          static int tabsize;
    3131
    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 );
    3333
    3434                //*** Turn off visit_children for all nodes
     
    3838                void postvisit( BaseSyntaxNode * );
    3939
    40                 //*** print type for all expressions
    41                 void previsit( Expression * node );
    42 
    4340                //*** Declaration
    4441                void postvisit( StructDecl * );
    4542                void postvisit( FunctionDecl * );
    4643                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 );
    5349
    5450                //*** Initializer
     
    6965                void postvisit( LabelAddressExpr *addressExpr );
    7066                void postvisit( CastExpr *castExpr );
    71                 void postvisit( KeywordCastExpr * castExpr );
    7267                void postvisit( VirtualCastExpr *castExpr );
    7368                void postvisit( UntypedMemberExpr *memberExpr );
     
    144139                bool genC = false;    // true if output has to be C code
    145140                bool lineMarks = false;
    146                 bool printExprTypes = false;
    147141        public:
    148142                LineEnder endl;
Note: See TracChangeset for help on using the changeset viewer.