Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.h

    r0f79853 r55d6e8de  
    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 );
     
    9388                void postvisit( StmtExpr * );
    9489                void postvisit( ConstructorExpr * );
    95                 void postvisit( DeletedExpr * );
    96                 void postvisit( DefaultArgExpr * );
    97                 void postvisit( GenericExpr * );
    9890
    9991                //*** Statements
     
    10193                void postvisit( ExprStmt * );
    10294                void postvisit( AsmStmt * );
    103                 void postvisit( DirectiveStmt * );
    10495                void postvisit( AsmDecl * );                            // special: statement in declaration context
    10596                void postvisit( IfStmt * );
     
    147138                bool genC = false;    // true if output has to be C code
    148139                bool lineMarks = false;
    149                 bool printExprTypes = false;
    150140        public:
    151141                LineEnder endl;
Note: See TracChangeset for help on using the changeset viewer.