Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.h

    rda9d79b r92fea32  
    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
     
    3737                //*** Error for unhandled node types
    3838                void postvisit( BaseSyntaxNode * );
    39 
    40                 //*** print type for all expressions
    41                 void previsit( Expression * node );
    4239
    4340                //*** Declaration
     
    6966                void postvisit( LabelAddressExpr *addressExpr );
    7067                void postvisit( CastExpr *castExpr );
    71                 void postvisit( KeywordCastExpr * castExpr );
    7268                void postvisit( VirtualCastExpr *castExpr );
    7369                void postvisit( UntypedMemberExpr *memberExpr );
     
    144140                bool genC = false;    // true if output has to be C code
    145141                bool lineMarks = false;
    146                 bool printExprTypes = false;
    147142        public:
    148143                LineEnder endl;
Note: See TracChangeset for help on using the changeset viewer.